aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-08-24 02:39:12 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-08-24 22:57:29 +0800
commit56bcabd8df3185bca2805f1e4945c3adf28f0be1 (patch)
tree5c7bb44533a228425acfac0d4ddfca4623334763
parent4f79cd98c0501367570bc140776b5ec40bfee49c (diff)
downloadgsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar.gz
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar.bz2
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar.lz
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar.xz
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.tar.zst
gsoc2013-empathy-56bcabd8df3185bca2805f1e4945c3adf28f0be1.zip
Don't leak a reference when updating an IndividualWidget.
-rw-r--r--libempathy-gtk/empathy-individual-widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index a42c5a999..be6b56b3d 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -1364,6 +1364,8 @@ update_persona (EmpathyIndividualWidget *self, FolksPersona *persona)
if (priv->flags & EMPATHY_INDIVIDUAL_WIDGET_EDIT_FAVOURITE)
notify_is_favourite_cb (persona, NULL, self);
+
+ g_object_unref (contact);
}
static void