cvs: php4 /sapi/apache2filter php_functions.c
| From: | Doug MacEachern | Date: | Thu, 06 Dec 2001 01:25:48 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter php_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8451@lists.php.net to get a copy of this message | ||
dougm Wed Dec 5 20:25:48 2001 EDT
Modified files:
/php4/sapi/apache2filter php_functions.c
Log:
destroy subrequests returned from ap_sub_req_lookup_uri
Index: php4/sapi/apache2filter/php_functions.c
diff -u php4/sapi/apache2filter/php_functions.c:1.13 php4/sapi/apache2filter/php_functions.c:1.14
--- php4/sapi/apache2filter/php_functions.c:1.13 Wed Dec 5 19:53:58 2001
+++ php4/sapi/apache2filter/php_functions.c Wed Dec 5 20:25:48 2001
@@ -62,7 +62,9 @@
if (rr->status == HTTP_OK) {
ap_run_sub_req(rr);
RETURN_TRUE;
+ ap_destroy_sub_req(rr);
}
+ ap_destroy_sub_req(rr);
RETURN_FALSE;
}
@@ -101,8 +103,10 @@
ADD_STRING(path_info);
ADD_STRING(args);
+ ap_destroy_sub_req(rr);
return;
}
+ ap_destroy_sub_req(rr);
RETURN_FALSE;
}