diff libpurple/protocols/msn/dialog.c @ 22808:f62a4a7fe365

Fix a number of leaks. As far as I can tell, MSNP14 now logs in without leaking.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 May 2008 23:51:43 +0000
parents dccfd999ffe7
children 5cdd93dac7a2
line wrap: on
line diff
--- a/libpurple/protocols/msn/dialog.c	Sat May 03 21:03:13 2008 +0000
+++ b/libpurple/protocols/msn/dialog.c	Sat May 03 23:51:43 2008 +0000
@@ -112,7 +112,7 @@
 
 	data        = g_new0(MsnAddRemData, 1);
 	data->who   = g_strdup(passport);
-	data->group = group_name != NULL ? g_strdup(group_name) : NULL;
+	data->group = g_strdup(group_name);
 	data->gc    = gc;
 
 	msg = g_strdup_printf(_("Buddy list synchronization issue in %s (%s)"),