From 99bda309f129b94db112c52dfa674cd7355f4374 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 31 Mar 2010 12:59:46 +0200 Subject: init_contact_avatar_with_size: don't leak the pixbuf --- src/empathy-call-window.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3