summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-17 22:27:33 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-17 22:28:14 +0200
commit5db6e1be09f666514d1a2a837863e2008f705958 (patch)
treecca6cf46be301a8a53caf3fa810d7c1f6d75a403
parentff58ff2df51c81f7c9a20d4ea0f10ddb7192ab4f (diff)
Remember to remove the signal filter in the _exit function
-rw-r--r--audio/telephony-maemo.c2
1 files changed, 2 insertions, 0 deletions
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;
}