aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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