From: Fabian Keil Date: Sun, 30 Aug 2020 07:24:48 +0000 (+0200) Subject: cgi_show_status: Don't leak memory when no filter files are specified X-Git-Tag: v_3_0_29~166 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=1b1370f7a8a;hp=ee5abceae9f104f674abd44984eefb99375ef9f5 cgi_show_status: Don't leak memory when no filter files are specified Sponsored by: Robert Klemme --- diff --git a/cgisimple.c b/cgisimple.c index 0077e7c4..a8fd8268 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1380,6 +1380,7 @@ jb_err cgi_show_status(struct client_state *csp, { if (!err) err = map(exports, "re-filter-filenames", 1, "None specified", 1); if (!err) err = map_block_killer(exports, "have-filterfile"); + freez(s); } #ifdef FEATURE_TRUST