changeset 29354:86ee7772936f

Remove duplicate code
author Mark Doliner <mark@kingant.net>
date Thu, 04 Feb 2010 02:18:37 +0000
parents 94a88e5bd3fc
children 757a386a5c93 422889fb57e0
files libpurple/protocols/myspace/user.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/user.c	Thu Feb 04 02:17:38 2010 +0000
+++ b/libpurple/protocols/myspace/user.c	Thu Feb 04 02:18:37 2010 +0000
@@ -352,14 +352,6 @@
 			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;