From: Fabian Keil Date: Sun, 30 Aug 2020 07:25:47 +0000 (+0200) Subject: cgi_show_status: Don't leak memory when no action files are specified X-Git-Tag: v_3_0_29~165 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=c62254a686dcd40e3b6e5753d0c7c0308209a7b6 cgi_show_status: Don't leak memory when no action files are specified Sponsored by: Robert Klemme --- diff --git a/cgisimple.c b/cgisimple.c index a8fd8268..d7c6ccd6 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1353,6 +1353,7 @@ jb_err cgi_show_status(struct client_state *csp, else { if (!err) err = map(exports, "actions-filenames", 1, "None specified", 1); + freez(s); } /*