From 67582abc7e901b5de7670bcf2434a15e18938835 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 9 Jan 2009 16:14:58 +0000 Subject: Also free the approvals list Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2180 --- src/empathy-event-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 49a4d4bbc..4b47cd7b9 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -547,8 +547,9 @@ event_manager_finalize (GObject *object) EmpathyEventManagerPriv *priv = GET_PRIV (object); g_slist_foreach (priv->events, (GFunc) event_free, NULL); - g_slist_foreach (priv->approvals, (GFunc) event_manager_approval_free, NULL); g_slist_free (priv->events); + g_slist_foreach (priv->approvals, (GFunc) event_manager_approval_free, NULL); + g_slist_free (priv->approvals); g_object_unref (priv->contact_manager); g_object_unref (priv->dispatcher); } -- cgit v1.2.3