X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.c;h=d7c6ccd6b52eda85cc6567f4d462af5bf75a8e19;hp=e738a605204e13f6873a3cf30c8fe23763686d1b;hb=bfbc85f7b60d851fea0f04f75be6b2030e70d655;hpb=92d54bfa51701a0b2b96a1b929bd9b7279b89fab diff --git a/cgisimple.c b/cgisimple.c index e738a605..d7c6ccd6 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1087,7 +1087,7 @@ static char *get_block_reason_statistics_table(const struct client_state *csp) } get_block_reason_count(block_reason, &count); snprintf(buf, sizeof(buf), - "%s%llu", + "%s%llu\n", encoded_block_reason, count); freez(encoded_block_reason); @@ -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); } /* @@ -1380,6 +1381,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