Mercurial > pidgin.yaz
diff libpurple/protocols/simple/simple.c @ 30126:6e2a246a8d74
Fix one more small memleak by freeing any lingering transactions at shutdown
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 12 Apr 2010 08:05:57 +0000 |
| parents | ff8a91b1f795 |
| children | 62cc2156961f |
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c Mon Apr 12 07:58:08 2010 +0000 +++ b/libpurple/protocols/simple/simple.c Mon Apr 12 08:05:57 2010 +0000 @@ -2026,6 +2026,8 @@ 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);
