From: Graham Leggett Date: Thu, 16 Sep 2010 10:08:18 +0000 (+0000) Subject: No need to call the cleanup in the forked-child case. X-Git-Tag: 2.3.9~493 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb04a3c9f38ce5f82466c8083c8f438dca26464;p=thirdparty%2Fapache%2Fhttpd.git No need to call the cleanup in the forked-child case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@997676 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index 8971587500e..bd4728277b5 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -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; }