From f95d98094c3872199eaed59da48a76c44d0e0531 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 29 Oct 2008 08:44:15 -0400 Subject: Fixing SEGFAULT caused by not completely purging watch data when removing a D-BUS watch from the event loop --- server/dbus/sssd_dbus_common.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit