projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42f1fd
)
Plug memory leak in cgi_show_status()
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 10 Nov 2020 10:47:18 +0000
(11:47 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 18 Nov 2020 11:01:49 +0000
(12:01 +0100)
CID 305233
cgisimple.c
patch
|
blob
|
history
diff --git
a/cgisimple.c
b/cgisimple.c
index
592e704
..
88f1c15
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1348,9
+1348,9
@@
jb_err cgi_show_status(struct client_state *csp,
if (!err) err = string_append(&s, "</td></tr>\n");
}
}
- if (*s != '\0')
+ if (
!err &&
*s != '\0')
{
-
if (!err)
err = map(exports, "actions-filenames", 1, s, 0);
+ err = map(exports, "actions-filenames", 1, s, 0);
}
else
{