commit be36f031fa3f722c5dbce3dedb33429fadade08a
parent a7a4f2174215ecad22e0849128aa1970a08eeba7
Author: Ricardo Mones <ricardo@mones.org>
Date: Mon, 9 Jan 2017 00:37:04 +0100
Attachwarner: fix leaked string
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/plugins/attachwarner/attachwarner.c b/src/plugins/attachwarner/attachwarner.c
@@ -224,6 +224,7 @@ static gboolean attwarn_before_send_hook(gpointer source, gpointer data)
GTK_STOCK_CANCEL, button_label, NULL);
g_free(message);
g_free(bold_text);
+ g_free(button_label);
if (aval != G_ALERTALTERNATE)
return TRUE;
}