From c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sat, 10 Jul 2010 17:19:32 +0100 Subject: Fix a memory leak in EmpathyAvatar (#624054) The avatar filename was being leaked. --- libempathy/empathy-contact.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy/empathy-contact.c') diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index ba695ca57..7e9961f1c 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -1112,6 +1112,7 @@ empathy_avatar_unref (EmpathyAvatar *avatar) g_free (avatar->data); g_free (avatar->format); g_free (avatar->token); + g_free (avatar->filename); g_slice_free (EmpathyAvatar, avatar); } } -- cgit v1.2.3