From 5db6e1be09f666514d1a2a837863e2008f705958 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 17 Dec 2008 22:27:33 +0200 Subject: Remember to remove the signal filter in the _exit function --- audio/telephony-maemo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio') diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 6388f56f..7a8e9d30 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -1697,6 +1697,8 @@ void telephony_exit(void) g_slist_free(calls); calls = NULL; + dbus_connection_remove_filter(connection, signal_filter, NULL); + dbus_connection_unref(connection); connection = NULL; } -- cgit