pidgin: dd402e43: Fix one more small memleak by freeing an...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Apr 12 04:12:42 EDT 2010
-----------------------------------------------------------------
Revision: dd402e43b921d49869c69ed5938841f43fdc17dc
Ancestor: 2344ffb8efb6f72280ac4e25a597b651d8927d6f
Author: markdoliner at pidgin.im
Date: 2010-04-12T08:05:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dd402e43b921d49869c69ed5938841f43fdc17dc
Modified files:
libpurple/protocols/simple/simple.c
ChangeLog:
Fix one more small memleak by freeing any lingering transactions at shutdown
-------------- next part --------------
============================================================
--- libpurple/protocols/simple/simple.c a8bd17233112abb7ef5d26f84f7554fe51174a10
+++ libpurple/protocols/simple/simple.c e77051328329a3efe451eded2a719e14dde5708e
@@ -2026,6 +2026,8 @@ static void simple_close(PurpleConnectio
g_free(sip->status);
g_hash_table_destroy(sip->buddies);
g_free(sip->regcallid);
+ while (sip->transactions)
+ transactions_remove(sip, sip->transactions->data);
g_free(sip->publish_etag);
if (sip->txbuf)
purple_circ_buffer_destroy(sip->txbuf);
More information about the Commits
mailing list