2005-09-04 [paul] 1.9.13cvs81
[claws.git] / src / compose.c
index 51d50ed2a6933aaa89d88861dda693a3574ac15b..301656f9e10e7830f95d34e04617fe49600cce77 100644 (file)
@@ -3811,10 +3811,8 @@ static gint compose_write_to_file(Compose *compose, FILE *fp, gint action)
                           "\n"
                           "Send it anyway?"), line + 1);
                aval = alertpanel(_("Warning"), msg, GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL);
+               g_free(msg);
                if (aval != G_ALERTDEFAULT) {
-                       g_free(msg);
-                       fclose(fp);
-                       g_free(buf);
                        return -1;
                }
        }