[empathy/gnome-2-30] Fix a memory leak in EmpathyAvatar (#624054)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-30] Fix a memory leak in EmpathyAvatar (#624054)
- Date: Mon, 12 Jul 2010 08:24:15 +0000 (UTC)
commit a609ef1968ca455a894391354ca63721f8e7679f
Author: Philip Withnall <philip withnall collabora co uk>
Date: Sat Jul 10 17:19:32 2010 +0100
Fix a memory leak in EmpathyAvatar (#624054)
The avatar filename was being leaked.
libempathy/empathy-contact.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index df7d04e..80cfe27 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -1049,6 +1049,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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]