summaryrefslogtreecommitdiff
path: root/mmap
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-04-18 20:26:40 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-04-18 20:26:40 +0000
commit4507e8f4fb95b3653ff27fc8a8ea6365bdac9ab0 (patch)
treec74684ad8f6b250b43434ba0eb7c287cb8d5d4cb /mmap
parent9e098dfb992a9d7222a15dcc96c6b95ecce96b7b (diff)
downloadlibapr-4507e8f4fb95b3653ff27fc8a8ea6365bdac9ab0.tar.gz
Make this match the new unix version.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63279 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap')
-rw-r--r--mmap/win32/mmap.c8
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