diff libpurple/buddyicon.c @ 16608:4eb08fcc16d8

Fix assertion when creating a new account.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 29 Apr 2007 01:10:33 +0000
parents 63a1de71e389
children 7135dd81991c
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Sun Apr 29 00:12:09 2007 +0000
+++ b/libpurple/buddyicon.c	Sun Apr 29 01:10:33 2007 +0000
@@ -721,7 +721,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