]> git.0d.be Git - empathy.git/commitdiff
individual-menu: fix another GeeIterator leak
authorPavel Vasin <rat4vier@gmail.com>
Sun, 7 Oct 2012 09:34:51 +0000 (13:34 +0400)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 8 Oct 2012 07:55:59 +0000 (09:55 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=685652

libempathy-gtk/empathy-individual-menu.c

index b85f76d9bac92b8012f7511c24694ef2f3ed47ab..03a8ee22018745947c74d2319267bf070b26d8cb 100644 (file)
@@ -481,6 +481,8 @@ add_phone_numbers (EmpathyIndividualMenu *self)
       gtk_menu_shell_append (GTK_MENU_SHELL (self), item);
       gtk_widget_show (item);
     }
+
+  g_object_unref (iter);
 }
 
 /* return a list of TpContact supporting the blocking iface */