From: Bill Stoddard Date: Thu, 16 May 2002 18:42:58 +0000 (+0000) Subject: Pass sconf into the cleanup... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe3840cc7f3c5e98e70fc4712d0231fd1f5542f7;p=apache Pass sconf into the cleanup... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95138 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index ec81a648d8..78dd376b8d 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -298,7 +298,7 @@ static void *create_cache_config(apr_pool_t *p, server_rec *s) sconf->max_cache_size = DEFAULT_MAX_CACHE_SIZE; sconf->cache_size = 0; - apr_pool_cleanup_register(p, NULL, cleanup_cache_mem, apr_pool_cleanup_null); + apr_pool_cleanup_register(p, sconf, cleanup_cache_mem, apr_pool_cleanup_null); return sconf; }