changeset 30576:bb6e71f7be93

We shouldn't free user->extinfo here because it can also contain phone numbers. Mark says freeing this struct at this point is not so much of a priority in the grand scheme of saving memory.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 02 Jun 2010 23:29:21 +0000
parents 805bc41f6de7
children f87a1844aff0
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Wed Jun 02 21:41:16 2010 +0000
+++ b/libpurple/protocols/msn/notification.c	Wed Jun 02 23:29:21 2010 +0000
@@ -1610,11 +1610,6 @@
 		msn_user_set_statusline(user, NULL);
 	}
 
-	if (user->extinfo && user->extinfo->media_type == CURRENT_MEDIA_UNKNOWN) {
-		g_free(user->extinfo);
-		user->extinfo = NULL;
-	}
-
 	msn_user_update(user);
 }