php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #68486
Patch sapi-logic-cleanup revision 2015-03-24 23:44 UTC by gmoniker at gmail dot com
Patch sapi_apache2.gmoniker.patch revision 2015-03-18 15:25 UTC by php at bof dot de

Patch sapi_apache2.gmoniker.patch for Apache2 related Bug #68486

Patch version 2015-03-18 15:25 UTC

Return to Bug #68486 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: php@bof.de

diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 088ff77..840c550 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -688,6 +688,7 @@ zend_first_try {
 } zend_end_try();
 		}
 		apr_brigade_cleanup(brigade);
+		apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup);
 	} else {
 		ctx->r = parent_req;
 	}
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 07:01:32 2025 UTC