From b901c6d20ff235b2af0fca69050772b9d58cbd50 Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 12 Nov 2002 15:01:41 +0000 Subject: [PATCH 1/1] Fix: Don't free uninitialized struct editable_file --- cgiedit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cgiedit.c b/cgiedit.c index 2a5638e9..2793ca8c 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.41.2.1 2002/08/02 12:43:14 oes Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.41.2.2 2002/08/05 20:02:59 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/Attic/cgiedit.c,v $ @@ -42,6 +42,9 @@ const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.41.2.1 2002/08/02 12:43:14 oes Ex * * Revisions : * $Log: cgiedit.c,v $ + * Revision 1.41.2.2 2002/08/05 20:02:59 oes + * Bugfix: "Insert new section at top" did not work properly if first non-comment line in file was of type FILE_LINE_ACTION + * * Revision 1.41.2.1 2002/08/02 12:43:14 oes * Fixed bug #588514: first_time now set on a per-string basis in actions_from_radio; javascriptify now called on copies * @@ -2518,7 +2521,6 @@ jb_err cgi_edit_actions_list(struct client_state *csp, if (NULL == (exports = default_exports(csp, NULL))) { - edit_free_file(file); return JB_ERR_MEMORY; } -- 2.39.2