diff options
| author | Cosimo Alfarano <cosimo.alfarano@collabora.com> | 2011-10-11 16:41:31 +0100 |
|---|---|---|
| committer | Ralf Habacker <ralf.habacker@freenet.de> | 2013-08-23 00:17:40 +0200 |
| commit | 1809c7ad2a72b7186bbff0180aaae72337055829 (patch) | |
| tree | ff48d1bd674ddf724d66c9d4d80a87e3bd7823ca | |
| parent | d6432126514fd496d57f03311b3d471c627d8b4a (diff) | |
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 <simon.mcvittie@collabora.co.uk>
| -rw-r--r-- | 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 a471ea6b..51c0a25c 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; |
