diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-04-18 20:26:40 +0000 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-04-18 20:26:40 +0000 |
commit | 5c316832f391f7e2eb4c8c1b4a35f369a421fbc2 (patch) | |
tree | c74684ad8f6b250b43434ba0eb7c287cb8d5d4cb /mmap | |
parent | 461f37430ae82b94f29048cfe3ce3b337c8e04d3 (diff) | |
download | apr-5c316832f391f7e2eb4c8c1b4a35f369a421fbc2.tar.gz |
Make this match the new unix version.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63279 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap')
-rw-r--r-- | mmap/win32/mmap.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mmap/win32/mmap.c b/mmap/win32/mmap.c index 2d3d61a4c..a113ecfcf 100644 --- a/mmap/win32/mmap.c +++ b/mmap/win32/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 |