Fix assertion when creating a new account.

Sun, 29 Apr 2007 01:10:33 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sun, 29 Apr 2007 01:10:33 +0000
changeset 16674
95bfc8f3775c
parent 16673
dca3679df064
child 16683
0c3543da3948

Fix assertion when creating a new account.

libpurple/buddyicon.c file | annotate | diff | comparison | revisions
--- 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

mercurial