projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1eded09
)
Fix double free in cgi_edit_actions_list().
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 28 Nov 2007 17:57:01 +0000
(17:57 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 28 Nov 2007 17:57:01 +0000
(17:57 +0000)
Reported by adlab in BR#
1840145
.
cgiedit.c
patch
|
blob
|
history
diff --git
a/cgiedit.c
b/cgiedit.c
index
5bc5c0d
..
190c1a1
100644
(file)
--- a/
cgiedit.c
+++ b/
cgiedit.c
@@
-1,4
+1,4
@@
-const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.5
6 2007/08/05 13:47:0
3 fabiankeil Exp $";
+const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.5
7 2007/10/27 13:32:2
3 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $
@@
-42,6
+42,10
@@
const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.56 2007/08/05 13:47:03 fabiankeil
*
* Revisions :
* $Log: cgiedit.c,v $
*
* Revisions :
* $Log: cgiedit.c,v $
+ * Revision 1.57 2007/10/27 13:32:23 fabiankeil
+ * Plug minor 5-year-old memory leak. Spotted by
+ * Valgrind and triggered by Privoxy-Regression-Test.
+ *
* Revision 1.56 2007/08/05 13:47:03 fabiankeil
* #1763173 from Stefan Huehner: s@const static@static const@.
*
* Revision 1.56 2007/08/05 13:47:03 fabiankeil
* #1763173 from Stefan Huehner: s@const static@static const@.
*
@@
-2835,7
+2839,6
@@
jb_err cgi_edit_actions_list(struct client_state *csp,
free(url_template);
edit_free_file(file);
free_map(exports);
free(url_template);
edit_free_file(file);
free_map(exports);
- free(url_template);
return err;
}
return err;
}