comparison 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
comparison
equal deleted inserted replaced
13968:6fc412e59214 13969:8934a27fed4b
458 gaim_conv_chat_set_topic(GAIM_CONV_CHAT(c), NULL, topic); 458 gaim_conv_chat_set_topic(GAIM_CONV_CHAT(c), NULL, topic);
459 yd->in_chat = 1; 459 yd->in_chat = 1;
460 yd->chat_name = g_strdup(room); 460 yd->chat_name = g_strdup(room);
461 gaim_conv_chat_add_users(GAIM_CONV_CHAT(c), members, NULL, flags, FALSE); 461 gaim_conv_chat_add_users(GAIM_CONV_CHAT(c), members, NULL, flags, FALSE);
462 } 462 }
463 g_list_free(flags);
463 } else if (c) { 464 } else if (c) {
464 yahoo_chat_add_users(GAIM_CONV_CHAT(c), members); 465 yahoo_chat_add_users(GAIM_CONV_CHAT(c), members);
465 } 466 }
466 467
467 if (account->deny && c) { 468 if (account->deny && c) {