aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:14:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:14:58 +0800
commit67582abc7e901b5de7670bcf2434a15e18938835 (patch)
treea47caec516b93657a531f3259a9d8fd5a7e8e4bb /src/empathy-event-manager.c
parent5d8f3b4d7f167728e6151107e908a789aa060f5e (diff)
downloadgsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar.gz
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar.bz2
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar.lz
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar.xz
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.tar.zst
gsoc2013-empathy-67582abc7e901b5de7670bcf2434a15e18938835.zip
Also free the approvals list
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2180
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c3
1 files changed, 2 insertions, 1 deletions
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);
}