diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-26 00:12:09 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-26 00:12:09 +0000 |
commit | 8dc0df05383e12bb42511f5a732ee636d1a66603 (patch) | |
tree | 3904464c032fcf5dd24bfa800c59754644490aef | |
parent | 1e381fbffc190fdede27d6f27a2d113daf3e791d (diff) |
bluetooth: Fix a double-free-esque error introduced in 8f3ef04b
-rw-r--r-- | src/modules/bluetooth/bluetooth-util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index f1c7c4c1..5d388ceb 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -1565,8 +1565,6 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) { if (y->filter_added) dbus_connection_remove_filter(pa_dbus_connection_get(y->connection), filter_cb, y); - dbus_connection_remove_filter(pa_dbus_connection_get(y->connection), filter_cb, y); - pa_dbus_connection_unref(y->connection); } |