mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_ssl: follow up to r1740928: fix memory leaks from merged proxy_ctx.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1781313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1615,6 +1615,11 @@ static apr_status_t ssl_init_proxy_ctx(server_rec *s,
|
|||||||
{
|
{
|
||||||
apr_status_t rv;
|
apr_status_t rv;
|
||||||
|
|
||||||
|
if (proxy->ssl_ctx) {
|
||||||
|
/* Merged/initialized already */
|
||||||
|
return APR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
apr_pool_cleanup_register(p, proxy,
|
apr_pool_cleanup_register(p, proxy,
|
||||||
ssl_cleanup_proxy_ctx,
|
ssl_cleanup_proxy_ctx,
|
||||||
apr_pool_cleanup_null);
|
apr_pool_cleanup_null);
|
||||||
|
Reference in New Issue
Block a user