From eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Tue, 26 May 2009 16:17:17 -0400 Subject: Avatar was leaked --- src/empathy-map-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c index 15939774f..8029f75e2 100644 --- a/src/empathy-map-view.c +++ b/src/empathy-map-view.c @@ -312,6 +312,7 @@ map_view_contacts_foreach (GtkTreeModel *model, texture = clutter_texture_new (); gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (texture), avatar); champlain_marker_set_image (CHAMPLAIN_MARKER (marker), texture); + g_object_unref (avatar); } else champlain_marker_set_image (CHAMPLAIN_MARKER (marker), NULL); -- cgit v1.2.3