]> granicus.if.org Git - apache/commitdiff
No need to call the cleanup in the forked-child case.
authorGraham Leggett <minfrin@apache.org>
Thu, 16 Sep 2010 10:08:18 +0000 (10:08 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 16 Sep 2010 10:08:18 +0000 (10:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@997676 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_disk_cache.c

index 8971587500edda5769693124dd0c130b1215de2d..bd4728277b535afdb2751084207b374ff05a1ee6 100644 (file)
@@ -201,7 +201,7 @@ static apr_status_t file_cache_create(disk_cache_conf *conf, disk_cache_file_t *
     file->pool = pool;
     file->tempfile = apr_pstrcat(pool, conf->cache_root, AP_TEMPFILE, NULL);
 
-    apr_pool_cleanup_register(pool, file, file_cache_temp_cleanup, file_cache_temp_cleanup);
+    apr_pool_cleanup_register(pool, file, file_cache_temp_cleanup, apr_pool_cleanup_null);
 
     return APR_SUCCESS;
 }