Attachwarner: fix leaked string
[claws.git] / src / plugins / attachwarner / attachwarner.c
index b1ef1b09e70194c07daaaede181af49c8096c34d..4dd8f96eccf39e1a8809c1a1fc0b85f2e819bf81 100644 (file)
@@ -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;
        }