From 8f514cd18ca96b9c67bb123dec067b002a75a74c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Nov 2005 21:00:28 +0000 Subject: MFH: Resolve Apache 2 regression with sub-request handling on non-linux systems. --- sapi/apache2handler/sapi_apache2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sapi/apache2handler/sapi_apache2.c') diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index c2952c4255..d74ff58730 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -457,6 +457,7 @@ static int php_handler(request_rec *r) if (strcmp(r->protocol, "INCLUDED")) { \ zend_try { zend_ini_deactivate(TSRMLS_C); } zend_end_try(); \ } \ + apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); \ conf = ap_get_module_config(r->per_dir_config, &php5_module); -- cgit v1.2.1