From: Doug MacEachern Date: Thu, 6 Dec 2001 19:03:29 +0000 (+0000) Subject: need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req() X-Git-Tag: ChangeLog~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=543d76185dae58dc372ff973ee10a59e60442590;p=php need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req() (Jon Parise ) --- diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c index a805dd0511..395d2edad6 100644 --- a/sapi/apache2filter/php_functions.c +++ b/sapi/apache2filter/php_functions.c @@ -61,8 +61,8 @@ PHP_FUNCTION(apache_sub_req) if (rr->status == HTTP_OK) { ap_run_sub_req(rr); - RETURN_TRUE; ap_destroy_sub_req(rr); + RETURN_TRUE; } ap_destroy_sub_req(rr); RETURN_FALSE;