]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-individual-manager.c
Don't leak EmpathyContact
[empathy.git] / 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);
     }
 }