[empathy] individual-menu: fix another GeeIterator leak



commit 59ea9e4abe4525b86615f404d4f493e9e4752a35
Author: Pavel Vasin <rat4vier gmail com>
Date:   Sun Oct 7 13:34:51 2012 +0400

    individual-menu: fix another GeeIterator leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685652

 libempathy-gtk/empathy-individual-menu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index b85f76d..03a8ee2 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]