X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=cgisimple.c;h=4339ecd01199a8baeaf64cca8628c95d2742d6b6;hb=f9dd5c2df9909bcc409394f746777e55a76823dd;hp=0077e7c48149324278dd955bc3ab50586ef2940f;hpb=965bb64d8cd49d60a5678172e73190e96ec02f48;p=privoxy.git diff --git a/cgisimple.c b/cgisimple.c index 0077e7c4..4339ecd0 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1146,15 +1146,15 @@ static char *get_filter_statistics_table(const struct client_state *csp) if (b->type == FT_CONTENT_FILTER) { unsigned long long executions; - unsigned long long pages_modified; + unsigned long long response_bodies_modified; unsigned long long hits; - get_filter_statistics(b->name, &executions, &pages_modified, &hits); + get_filter_statistics(b->name, &executions, &response_bodies_modified, &hits); snprintf(buf, sizeof(buf), "%s%llu" "%llu" "%llu\n", - b->name, executions, pages_modified, hits); + b->name, executions, response_bodies_modified, hits); if (!err) err = string_append(&statistics, buf); } @@ -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