projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5c0db
)
Plug another memory leak in cgi_show_status()
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 10 Nov 2020 11:22:04 +0000
(12:22 +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
88f1c15
..
8473391
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1375,9
+1375,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, "re-filter-filenames", 1, s, 0);
+ err = map(exports, "re-filter-filenames", 1, s, 0);
}
else
{