From 99b2f0c53ff11f3b2bdf8a812f0b61c03ab424b9 Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 12 Nov 2002 15:02:01 +0000 Subject: [PATCH] Fix: Don't free uninitialized struct editable_file --- src/cgiedit.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/cgiedit.c b/src/cgiedit.c index a7612d47..3f22c23b 100644 --- a/src/cgiedit.c +++ b/src/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 2.1 2002/09/04 15:21:18 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa//current/src/cgiedit.c,v $ @@ -42,6 +42,14 @@ const char cgiedit_rcs[] = "$Id: cgiedit.c,v 2.0 2002/06/04 14:34:21 jongfoster * * Revisions : * $Log: cgiedit.c,v $ + * Revision 2.1 2002/09/04 15:21:18 oes + * Synced with the stable branch: + * 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 + * * Revision 2.0 2002/06/04 14:34:21 jongfoster * Moving source files to src/ * @@ -2518,7 +2526,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