]> git.0d.be Git - empathy.git/commitdiff
Don't leak EmpathyContact
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Thu, 10 Feb 2011 04:56:02 +0000 (15:56 +1100)
committerChandni Verma <chandniverma2112@gmail.com>
Tue, 8 Mar 2011 04:04:56 +0000 (09:34 +0530)
libempathy/empathy-individual-manager.c

index a2432effef947d4def3e307276210b4fb3c6f085..01eb51951d1cd3eb70bd8e3d978ce5eab715c512 100644 (file)
@@ -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);
     }
 }