You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2010/09/16 12:08:19 UTC

svn commit: r997676 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Author: minfrin
Date: Thu Sep 16 10:08:18 2010
New Revision: 997676

URL: http://svn.apache.org/viewvc?rev=997676&view=rev
Log:
No need to call the cleanup in the forked-child case.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=997676&r1=997675&r2=997676&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Thu Sep 16 10:08:18 2010
@@ -201,7 +201,7 @@ static apr_status_t file_cache_create(di
     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;
 }