diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-09-16 21:20:36 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-09-16 21:24:44 +0800 |
commit | 59741e29701de30b3cdb34a38cab4b48dd2384e7 (patch) | |
tree | 86d81ee8f00ba49afcff92d5d964f90a3f6269d4 /libempathy/empathy-contact.c | |
parent | bbcee82de3ff150cf51c3cefa945e8ababcde4d7 (diff) | |
download | gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar.gz gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar.bz2 gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar.lz gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar.xz gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.tar.zst gsoc2013-empathy-59741e29701de30b3cdb34a38cab4b48dd2384e7.zip |
empathy_avatar_new takes ownership of arguments. Do not free filename.
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |