# HG changeset patch # User Nathan Walp # Date 1073372879 0 # Node ID 35c2526dba16c00c0ffb49ef0587db34babd0b3e # Parent 1e09e7f73005225da06e678b781258da24d81cc4 [gaim-migrate @ 8700] plug memory leaks committer: Tailor Script diff -r 1e09e7f73005 -r 35c2526dba16 src/blist.c --- a/src/blist.c Tue Jan 06 06:00:43 2004 +0000 +++ b/src/blist.c Tue Jan 06 07:07:59 2004 +0000 @@ -2502,6 +2502,7 @@ g_free(setting->value.string); break; } + g_free(setting); } static void gaim_blist_node_initialize_settings(GaimBlistNode* node) diff -r 1e09e7f73005 -r 35c2526dba16 src/gtkblist.c --- a/src/gtkblist.c Tue Jan 06 06:00:43 2004 +0000 +++ b/src/gtkblist.c Tue Jan 06 07:07:59 2004 +0000 @@ -1773,19 +1773,19 @@ char *label, *tmp2, *value; pce = tmp->data; - if(pce->secret) - continue; - - tmp2 = g_markup_escape_text(pce->label, -1); - label = gaim_text_strip_mnemonic(tmp2); - g_free(tmp2); - - value = g_markup_escape_text(g_hash_table_lookup(chat->components, - pce->identifier), -1); - - g_string_append_printf(parts_text, "\n%s %s", label, value); - g_free(label); - g_free(value); + if(!pce->secret) { + + tmp2 = g_markup_escape_text(pce->label, -1); + label = gaim_text_strip_mnemonic(tmp2); + g_free(tmp2); + + value = g_markup_escape_text(g_hash_table_lookup(chat->components, + pce->identifier), -1); + + g_string_append_printf(parts_text, "\n%s %s", label, value); + g_free(label); + g_free(value); + } g_free(pce); } g_list_free(parts);