summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorWilfredo Sanchez <wsanchez@apache.org>2001-11-12 17:42:56 +0000
committerWilfredo Sanchez <wsanchez@apache.org>2001-11-12 17:42:56 +0000
commita606280697af4d1a477d6ab75ae4a91cef8970c6 (patch)
treecbe3a661bf007887b74e05203b7eb92de1395338 /dso
parent71a2bc805e8a9bd6407dc5591747ea138d94c048 (diff)
downloadapr-a606280697af4d1a477d6ab75ae4a91cef8970c6.tar.gz
Fix leak of NSObjectFileImage handle.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62507 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/unix/dso.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c
index 6fe8b0f11..ab8fdc55d 100644
--- a/dso/unix/dso.c
+++ b/dso/unix/dso.c
@@ -137,6 +137,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
#else
os_handle = NSLinkModule(image, path, TRUE);
#endif
+ NSDestroyObjectFileImage(image);
}
#elif defined(DSO_USE_DLFCN)