changeset 14276:afeb14572fae

[gaim-migrate @ 16961] Remove an unnecessary strdup committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 22:44:46 +0000
parents c61d932c2a52
children 06f03f2bc6c6
files libgaim/protocols/jabber/roster.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/jabber/roster.c	Mon Aug 21 22:43:54 2006 +0000
+++ b/libgaim/protocols/jabber/roster.c	Mon Aug 21 22:44:46 2006 +0000
@@ -325,9 +325,7 @@
 	GaimBuddy *b = gaim_find_buddy(gc->account, name);
 	char *a;
 
-	a = g_strdup(alias);
 	gaim_blist_alias_buddy(b, a);
-	g_free(a);
 
 	jabber_roster_update(gc->proto_data, name, NULL);
 }