httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r997676 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Thu, 16 Sep 2010 10:08:19 GMT
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;
 }



Mime
View raw message