Fix a memory leak in empty subject warning dialog in compose.c.
[claws.git] / src / compose.c
index 023b36d8e2398e55b08e70eab82dd71e2c34702e..69c5a0f614d5221a06d84a1694dc4c0d405cd453 100644 (file)
@@ -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;