# HG changeset patch # User Sadrul Habib Chowdhury # Date 1177876013 0 # Node ID df5fb079b1ad7acaaa070d1c8b6efc76ba190c86 # Parent 9b41a619d2f78c148c75cedcd3e0650e319b2dc8 This gets rid of a g_log error when uncache-ing a NULL file. diff -r 9b41a619d2f7 -r df5fb079b1ad libpurple/buddyicon.c --- a/libpurple/buddyicon.c Sun Apr 29 18:04:58 2007 +0000 +++ b/libpurple/buddyicon.c Sun Apr 29 19:46:53 2007 +0000 @@ -854,7 +854,7 @@ if (old_img) purple_imgstore_unref(old_img); - else + else if (old_icon) { /* The old icon may not have been loaded into memory. In that * case, we'll need to uncache the filename. The filenames