Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3f00b32 authored by Nitin Arora's avatar Nitin Arora Committed by Android Git Automerger
Browse files

am 4899f303: Fix memory corruption of BLE whitelist hashmap

* commit '4899f303':
  Fix memory corruption of BLE whitelist hashmap
parents b4625b17 4899f303
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static void background_connection_add(bt_bdaddr_t *address) {
  if (!connection) {
    connection = osi_calloc(sizeof(background_connection_t));
    connection->address = *address;
    hash_map_set(background_connections, address, connection);
    hash_map_set(background_connections, &(connection->address), connection);
  }
}