changeset 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 4b7b9bb4ce34
children 7135dd81991c
files libpurple/buddyicon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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