diff src/protocols/yahoo/yahoochat.c @ 13969:8934a27fed4b

[gaim-migrate @ 16527] Sadrul sent me this patch to look over and then commit. It fixes a PRPL leak in Yahoo's chat and fixes a few other memory leaks that were mostly my fault. committer: Tailor Script <tailor@pidgin.im>
author Aaron Sheldon <aaronsheldon>
date Thu, 20 Jul 2006 12:53:46 +0000
parents aaeb6ea63c56
children b7e4180af1db
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoochat.c	Thu Jul 20 08:11:54 2006 +0000
+++ b/src/protocols/yahoo/yahoochat.c	Thu Jul 20 12:53:46 2006 +0000
@@ -460,6 +460,7 @@
 			yd->chat_name = g_strdup(room);
 			gaim_conv_chat_add_users(GAIM_CONV_CHAT(c), members, NULL, flags, FALSE);
 		}
+		g_list_free(flags);
 	} else if (c) {
 		yahoo_chat_add_users(GAIM_CONV_CHAT(c), members);
 	}