pidgin: f963dbb3: Leak fix. This is probably quite serious...
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Tue Apr 22 12:50:50 EDT 2008
-----------------------------------------------------------------
Revision: f963dbb33b497c3a68ba5331374a49b3fffa42bb
Ancestor: dd4914d911799b6990814ac4de4180542e106d36
Author: nosnilmot at pidgin.im
Date: 2008-04-22T16:44:56
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f963dbb33b497c3a68ba5331374a49b3fffa42bb
Modified files:
libpurple/blist.c
ChangeLog:
Leak fix. This is probably quite serious if you have busy chats on your
buddy list.
Hopefully fixes https://bugzilla.redhat.com/show_bug.cgi?id=284001
-------------- next part --------------
============================================================
--- libpurple/blist.c 303cce32a1214e4a724f19817c2e4644b956eb4f
+++ libpurple/blist.c 0b556c797ea883ca59a0c070b6e95b388cd9ee19
@@ -2238,6 +2238,8 @@ purple_blist_find_chat(PurpleAccount *ac
pce = parts->data;
chat_name = g_hash_table_lookup(chat->components,
pce->identifier);
+ g_list_foreach(parts, (GFunc)g_free, NULL);
+ g_list_free(parts);
if (chat->account == account && chat_name != NULL &&
name != NULL && !strcmp(chat_name, name)) {
More information about the Commits
mailing list