changeset 17841:641db7354235

Another if!null
author Mark Doliner <mark@kingant.net>
date Tue, 12 Jun 2007 07:40:31 +0000
parents 6e0961356343
children c7df0c2d8eef
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Tue Jun 12 07:30:24 2007 +0000
+++ b/libpurple/protocols/jabber/presence.c	Tue Jun 12 07:40:31 2007 +0000
@@ -507,8 +507,7 @@
 			purple_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%x)",
 				buddy_name, purple_account_get_username(js->gc->account), js->gc->account);
 			jabber_id_free(jid);
-			if(avatar_hash)
-				g_free(avatar_hash);
+			g_free(avatar_hash);
 			g_free(buddy_name);
 			g_free(status);
 			return;