pidgin: 9028ac0d: Remove duplicate code

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Feb 3 21:20:35 EST 2010


-----------------------------------------------------------------
Revision: 9028ac0daaa1f7e565726fa39aca22ce7d3ecc49
Ancestor: c2ffbb13d5978667767abdeeebd465a472f7e12b
Author: markdoliner at pidgin.im
Date: 2010-02-04T02:18:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9028ac0daaa1f7e565726fa39aca22ce7d3ecc49

Modified files:
        libpurple/protocols/myspace/user.c

ChangeLog: 

Remove duplicate code

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/user.c	4bea00928870378ac4da4001690ea34904ea083b
+++ libpurple/protocols/myspace/user.c	9d836002975a1ecf44250582ce330536bce0e070
@@ -352,14 +352,6 @@ msim_store_user_info_each(const gchar *k
 			return;
 		}
 
-		if (user->temporary_user) {
-			/* This user will be destroyed soon; don't try to look up its image or avatar,
-			 * since that won't return immediately and we will end up accessing freed data.
-			 */
-			g_free(value_str);
-			return;
-		}
-
 		g_free(user->image_url);
 
 		user->image_url = value_str;


More information about the Commits mailing list