From: oes <oes@users.sourceforge.net>
Date: Tue, 12 Nov 2002 15:02:01 +0000 (+0000)
Subject: Fix: Don't free uninitialized struct editable_file
X-Git-Tag: v_3_1_archive_branchpoint~56
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/gitweb.js?a=commitdiff_plain;h=99b2f0c53ff11f3b2bdf8a812f0b61c03ab424b9;p=privoxy.git

Fix: Don't free uninitialized struct editable_file
---

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;
    }