]> code.delx.au - pulseaudio/blobdiff - src/modules/bluetooth/bluetooth-util.c
hashmap: Add the ability to free keys
[pulseaudio] / src / modules / bluetooth / bluetooth-util.c
index dd280cb9e8a116222f8ec69efe867d386a06420e..892e5fa390fa71e999caf3391f0e0495c246f77f 100644 (file)
@@ -2109,12 +2109,12 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) {
 
     if (y->devices) {
         remove_all_devices(y);
-        pa_hashmap_free(y->devices, NULL);
+        pa_hashmap_free(y->devices);
     }
 
     if (y->transports) {
         pa_assert(pa_hashmap_isempty(y->transports));
-        pa_hashmap_free(y->transports, NULL);
+        pa_hashmap_free(y->transports);
     }
 
     if (y->connection) {