summaryrefslogtreecommitdiff
path: root/server/dbus/sssd_dbus_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/dbus/sssd_dbus_common.c')
-rw-r--r--server/dbus/sssd_dbus_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/dbus/sssd_dbus_common.c b/server/dbus/sssd_dbus_common.c
index a7f2bff2..939e596a 100644
--- a/server/dbus/sssd_dbus_common.c
+++ b/server/dbus/sssd_dbus_common.c
@@ -27,6 +27,7 @@ void remove_watch(DBusWatch *watch, void *data) {
/* Freeing the event object will remove it from the event loop */
talloc_free(fde);
+ dbus_watch_set_data(watch, NULL, NULL);
}