From 98ee8c58f9230181081c74cb27c7f764ebcfe318 Mon Sep 17 00:00:00 2001 From: Dmitriy Paliy Date: Wed, 21 Sep 2011 15:49:52 +0300 Subject: [PATCH] Fix freeing watches list in maemo6 telephony This fixes regression introduced in 83064481481d23523e5cdd04. List watches has to be freed instead of list pending. --- audio/telephony-maemo6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index a5845c46b..42d693ac1 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -2017,7 +2017,7 @@ void telephony_exit(void) g_slist_free_full(pending, pending_req_finalize); pending = NULL; - g_slist_free_full(pending, remove_watch); + g_slist_free_full(watches, remove_watch); watches = NULL; dbus_connection_unref(connection); -- 2.47.3