summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-11-12 17:42:56 +0000
committerwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-11-12 17:42:56 +0000
commit3257d34311c40c2d01d9d19dff5c34b147c26e0e (patch)
treecbe3a661bf007887b74e05203b7eb92de1395338 /dso
parent2c26dc0282d16ceac3ac420e0a8b99ee1775701c (diff)
downloadlibapr-3257d34311c40c2d01d9d19dff5c34b147c26e0e.tar.gz
Fix leak of NSObjectFileImage handle.
git-svn-id: http://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)