From: Cosimo Alfarano Date: Tue, 11 Oct 2011 15:41:31 +0000 (+0100) Subject: Unset/free also windows user function, finalizing the connection X-Git-Tag: dbus-1.8.2~220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1809c7ad2a72b7186bbff0180aaae72337055829;p=platform%2Fupstream%2Fdbus.git Unset/free also windows user function, finalizing the connection It's currently not used, but it's safer to unset it and free user's data for avoiding future head-aches https://bugs.freedesktop.org/show_bug.cgi?id=39720 Reviewed-by: Simon McVittie --- diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index a471ea6..51c0a25 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2707,6 +2707,7 @@ _dbus_connection_last_unref (DBusConnection *connection) dbus_connection_set_dispatch_status_function (connection, NULL, NULL, NULL); dbus_connection_set_wakeup_main_function (connection, NULL, NULL, NULL); dbus_connection_set_unix_user_function (connection, NULL, NULL, NULL); + dbus_connection_set_windows_user_function (connection, NULL, NULL, NULL); _dbus_watch_list_free (connection->watches); connection->watches = NULL;