aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-01 10:12:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-01 10:12:52 +0000
commit5931d536371ea41dc2a2c5ccbcff5acc30eca4ff (patch)
tree709140c19ad13e610570640244e0f6a67f1fc9fe
parent3ed3ae5bcfaf1dcc09677b2ae1e012ec227a6372 (diff)
Gisle Vanem found a lib handle leak in the ldap code
-rw-r--r--lib/ldap.c2
1 files changed, 1 insertions, 1 deletions
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