Parent: 759819db1f0406e51a0338c9cb8038827614097d
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-09-12 13:54:56
Tree: 8df1e819f64728610a96b6ad7e2943ced7dc8171
gdbus/watch: Fix aborting when removing D-Bus filter In case of filter_data having a watch to a service name it may call dbus_connection_remove_filter twice causing libdbus to abort: process 24723: Attempt to remove filter function 0x4063e0 user data (nil), but no such filter has been added To fix this the code will now only attempt to call dbus_connection_remove_filter once in filter_data_free which is the counterpart of filter_data_get where dbus_connection_add_filter is called.
Diffstat
| M | gdbus/watch.c | | | 25 | ++++++++- - - - - - - - - - - - - - - - - |
1 files changed, 8 insertions(+), 17 deletions(-)