mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req()
(Jon Parise <jon@php.net>)
This commit is contained in:
parent
71028d46cf
commit
543d76185d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user