Mercurial > pidgin
comparison libpurple/protocols/simple/simple.c @ 29715: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 |
comparison
equal
deleted
inserted
replaced
29714:ff8a91b1f795 | 29715:6e2a246a8d74 |
---|---|
2024 g_free(sip->proxy.realm); | 2024 g_free(sip->proxy.realm); |
2025 g_free(sip->proxy.digest_session_key); | 2025 g_free(sip->proxy.digest_session_key); |
2026 g_free(sip->status); | 2026 g_free(sip->status); |
2027 g_hash_table_destroy(sip->buddies); | 2027 g_hash_table_destroy(sip->buddies); |
2028 g_free(sip->regcallid); | 2028 g_free(sip->regcallid); |
2029 while (sip->transactions) | |
2030 transactions_remove(sip, sip->transactions->data); | |
2029 g_free(sip->publish_etag); | 2031 g_free(sip->publish_etag); |
2030 if (sip->txbuf) | 2032 if (sip->txbuf) |
2031 purple_circ_buffer_destroy(sip->txbuf); | 2033 purple_circ_buffer_destroy(sip->txbuf); |
2032 g_free(sip->realhostname); | 2034 g_free(sip->realhostname); |
2033 | 2035 |