talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 3266300edcd71b7f321caad962ee3cbb67466633
parent 14eb5b009416465e7ce21523e7f67b78ce9411a8
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Fri, 28 Jul 2017 19:50:29 +0200

Fix a memory leak in empty subject warning dialog in compose.c.

Diffstat:
Msrc/compose.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -5169,6 +5169,7 @@ static gboolean compose_check_entries(Compose *compose, gboolean check_everythin GTK_STOCK_CANCEL, button_label, NULL, TRUE, NULL, ALERT_QUESTION, G_ALERTDEFAULT); g_free(message); + g_free(button_label); if (aval & G_ALERTDISABLE) { aval &= ~G_ALERTDISABLE; prefs_common.warn_empty_subj = FALSE;