diff options
Diffstat (limited to 'mmap')
-rw-r--r-- | mmap/unix/mmap.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c index 3f081308e..4a54b860e 100644 --- a/mmap/unix/mmap.c +++ b/mmap/unix/mmap.c @@ -199,13 +199,7 @@ APR_DECLARE(apr_status_t) apr_mmap_dup(apr_mmap_t **new_mmap, APR_DECLARE(apr_status_t) apr_mmap_delete(apr_mmap_t *mm) { - apr_status_t rv; - - if ((rv = mmap_cleanup(mm)) == APR_SUCCESS) { - apr_pool_cleanup_kill(mm->cntxt, mm, mmap_cleanup); - return APR_SUCCESS; - } - return rv; + return apr_pool_cleanup_run(mm->cntxt, mm, mmap_cleanup); } #endif |