From 5931d536371ea41dc2a2c5ccbcff5acc30eca4ff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 1 Jul 2003 10:12:52 +0000 Subject: [PATCH] Gisle Vanem found a lib handle leak in the ldap code --- lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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