X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgi.c;h=52cccb926dd76b26fadaa04567bf4811aa656d74;hp=15ef2562ad5e7c8544af74f6d20c9b7dddf1e5f1;hb=bfbc85f7b60d851fea0f04f75be6b2030e70d655;hpb=e38abca385ad4ac6fcb5b0daf486b72d5e19c012 diff --git a/cgi.c b/cgi.c index 15ef2562..52cccb92 100644 --- a/cgi.c +++ b/cgi.c @@ -537,7 +537,8 @@ static struct http_response *dispatch_known_cgi(struct client_state * csp, *query_args_start++ = '\0'; param_list = new_map(); err = map(param_list, "file", 1, url_decode(query_args_start), 0); - if (JB_ERR_OK != err) { + if (JB_ERR_OK != err) + { free(param_list); free(path_copy); return cgi_error_memory();