Commit fe3840cc authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Pass sconf into the cleanup...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95138 13f79535-47bb-0310-9956-ffa450edef68
parent ff32543f
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/experimental/mod_mem_cache.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
}