aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-02-10 12:56:02 +0800
committerChandni Verma <chandniverma2112@gmail.com>2011-03-08 12:04:56 +0800
commit1a2bbd7b2824e683c772b4784b98dcd531e91089 (patch)
tree098a8d802f84be6641f660891ac5b5a7d20b53a9
parent9968dc5978d6eb12ccc1f1cc76ca08fc0a739e85 (diff)
downloadgsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar.gz
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar.bz2
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar.lz
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar.xz
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.tar.zst
gsoc2013-empathy-1a2bbd7b2824e683c772b4784b98dcd531e91089.zip
Don't leak EmpathyContact
-rw-r--r--libempathy/empathy-individual-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c
index a2432effe..01eb51951 100644
--- a/libempathy/empathy-individual-manager.c
+++ b/libempathy/empathy-individual-manager.c
@@ -552,6 +552,8 @@ empathy_individual_manager_set_blocked (EmpathyIndividualManager *self,
empathy_contact_list_set_blocked (
EMPATHY_CONTACT_LIST (priv->contact_manager),
contact, blocked);
+
+ g_object_unref (contact);
}
}