]> git.0d.be Git - empathy.git/commitdiff
Fix a memory leak in EmpathyAvatar (#624054)
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 10 Jul 2010 16:19:32 +0000 (17:19 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 12 Jul 2010 08:23:34 +0000 (10:23 +0200)
The avatar filename was being leaked.

libempathy/empathy-contact.c

index ba695ca5707833fd64da6d78a409dbd9d2296b48..7e9961f1c6ea335d81a465085e608d3929f4dc9b 100644 (file)
@@ -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);
     }
 }