From e6e79d619a8ae721b11e112bc826eeddbf94773c Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 12 May 2014 23:32:36 +0100 Subject: [PATCH 1/2] Free strings in cons_show_account --- src/ui/console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/console.c b/src/ui/console.c index 064f4b71..e29b4eb7 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -906,6 +906,7 @@ _cons_show_account(ProfAccount *account) curr = curr->next; } cons_show(manual->str); + g_string_free(manual, TRUE); } if (g_list_length(account->otr_opportunistic) > 0) { GString *opportunistic = g_string_new("OTR opportunistic : "); @@ -918,6 +919,7 @@ _cons_show_account(ProfAccount *account) curr = curr->next; } cons_show(opportunistic->str); + g_string_free(opportunistic, TRUE); } if (g_list_length(account->otr_always) > 0) { GString *always = g_string_new("OTR always : "); @@ -930,6 +932,7 @@ _cons_show_account(ProfAccount *account) curr = curr->next; } cons_show(always->str); + g_string_free(always, TRUE); } cons_show ("Priority : chat:%d, online:%d, away:%d, xa:%d, dnd:%d", From 62dd30ff9068c7c4a851415314f0d2709079d17e Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 12 May 2014 23:33:14 +0100 Subject: [PATCH 2/2] Added push all script to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 093d0af5..3794eff5 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ Profanity.project Profanity.workspace pageing.txt cppcheck.out +gitpushall.sh