From: William A. Rowe Jr Date: Mon, 6 Aug 2001 18:38:43 +0000 (+0000) Subject: This is not C++, falling out of scope doesn't constitute destruction :) X-Git-Tag: 2.0.23~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fcef8e76d9e1e0f64d62a9a53f543b0058b1699;p=thirdparty%2Fapache%2Fhttpd.git This is not C++, falling out of scope doesn't constitute destruction :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89942 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 9e533113c70..183bd5d931a 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -348,6 +348,7 @@ static void add_ssi_vars(request_rec *r, ap_filter_t *next) apr_table_setn(e, "PATH_TRANSLATED", apr_pstrcat(r->pool, pa_req->filename, pa_req->path_info, NULL)); } + ap_destroy_sub_req(pa_req); } if (r->args) {