Skip to content

Commit 809610f

Browse files
committed
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
1 parent f938112 commit 809610f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/apache2handler/sapi_apache2.c

+1
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ zend_first_try {
688688
} zend_end_try();
689689
}
690690
apr_brigade_cleanup(brigade);
691+
apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup);
691692
} else {
692693
ctx->r = parent_req;
693694
}

0 commit comments

Comments
 (0)