Fix: Don't free uninitialized struct editable_file
authoroes <oes@users.sourceforge.net>
Tue, 12 Nov 2002 15:02:01 +0000 (15:02 +0000)
committeroes <oes@users.sourceforge.net>
Tue, 12 Nov 2002 15:02:01 +0000 (15:02 +0000)
src/cgiedit.c

index a7612d4..3f22c23 100644 (file)
@@ -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;
    }