]> granicus.if.org Git - apache/commitdiff
Pass sconf into the cleanup...
authorBill Stoddard <stoddard@apache.org>
Thu, 16 May 2002 18:42:58 +0000 (18:42 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 16 May 2002 18:42:58 +0000 (18:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95138 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index ec81a648d8f4f8a5dedaccd20893998a2c75c292..78dd376b8db78b1dceb74f5af99a544903a20e26 100644 (file)
@@ -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;
 }