need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req()

(Jon Parise <jon@php.net>)
This commit is contained in:
Doug MacEachern 2001-12-06 19:03:29 +00:00
parent 71028d46cf
commit 543d76185d

View File

@ -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;