aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-31 18:59:46 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-01 16:15:40 +0800
commit99bda309f129b94db112c52dfa674cd7355f4374 (patch)
treecc6e2760b285a99765c00add04ddb0b9e84fa669 /src/empathy-call-window.c
parent764a5d2e90664a02b0d8e33dd5ce41a388de87b9 (diff)
downloadgsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar.gz
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar.bz2
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar.lz
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar.xz
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.tar.zst
gsoc2013-empathy-99bda309f129b94db112c52dfa674cd7355f4374.zip
init_contact_avatar_with_size: don't leak the pixbuf
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 9c83437ce..6680d00fe 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1201,6 +1201,9 @@ init_contact_avatar_with_size (EmpathyContact *contact,
}
gtk_image_set_from_pixbuf (GTK_IMAGE (image_widget), pixbuf_avatar);
+
+ if (pixbuf_avatar != NULL)
+ g_object_unref (pixbuf_avatar);
}
static void