From: Daniel Stenberg Date: Tue, 1 Jul 2003 10:12:52 +0000 (+0000) Subject: Gisle Vanem found a lib handle leak in the ldap code X-Git-Tag: curl-7_10_6~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5931d536371ea41dc2a2c5ccbcff5acc30eca4ff;p=curl Gisle Vanem found a lib handle leak in the ldap code --- diff --git a/lib/ldap.c b/lib/ldap.c index d026f00ce..011996734 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -74,7 +74,7 @@ static void DynaOpen(void) * liblber.so automatically, but since it does not we will * handle it here by opening liblber.so as global. */ - dlopen("liblber.so", + liblber = dlopen("liblber.so", #ifdef RTLD_LAZY_GLOBAL /* It turns out some systems use this: */ RTLD_LAZY_GLOBAL #else