aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-map-view.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-27 04:17:17 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-28 00:52:10 +0800
commiteb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69 (patch)
tree567a22be7a25b565550239e7d9e4cbde024c89c8 /src/empathy-map-view.c
parent7965e120d0ba25581349ba990420d513bf8d5102 (diff)
downloadgsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar.gz
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar.bz2
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar.lz
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar.xz
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.tar.zst
gsoc2013-empathy-eb7d4bbe7b4dac195cf0cc26f7bfd50fb49dde69.zip
Avatar was leaked
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r--src/empathy-map-view.c1
1 files changed, 1 insertions, 0 deletions
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);