From 59741e29701de30b3cdb34a38cab4b48dd2384e7 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 16 Sep 2009 15:20:36 +0200 Subject: empathy_avatar_new takes ownership of arguments. Do not free filename. --- libempathy/empathy-contact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-contact.c') diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 0a097bb4d..fe25ff003 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -952,8 +952,8 @@ empathy_contact_load_avatar_cache (EmpathyContact *contact, empathy_contact_set_avatar (contact, avatar); empathy_avatar_unref (avatar); } - - g_free (filename); + else + g_free (filename); return data != NULL; } -- cgit v1.2.3