From bbb43a75ab29e42361734b26465566f5e6a7d696 Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Tue, 11 Oct 2011 16:41:31 +0100 Subject: [PATCH 8/8] 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 --- dbus/dbus-connection.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 3e74ca1..2d96750 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2670,6 +2670,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; -- 1.7.6.3