aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-07-11 00:19:32 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 16:23:34 +0800
commitc60dc144eb53bc084f5ac51f0ee3794ecaceb6ac (patch)
treea30bf49292e3377935e65e3704794c9026bb3f60 /libempathy
parent505c8415b87f7b0ebfce502ec44a39b0c3bf7ff5 (diff)
downloadgsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar.gz
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar.bz2
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar.lz
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar.xz
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.tar.zst
gsoc2013-empathy-c60dc144eb53bc084f5ac51f0ee3794ecaceb6ac.zip
Fix a memory leak in EmpathyAvatar (#624054)
The avatar filename was being leaked.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}