Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)

This commit is contained in:
Stanislav Malyshev 2015-04-04 15:03:46 -07:00
parent f938112c49
commit 809610f5ea

View File

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