Gisle Vanem found a lib handle leak in the ldap code
authorDaniel Stenberg <daniel@haxx.se>
Tue, 1 Jul 2003 10:12:52 +0000 (10:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 1 Jul 2003 10:12:52 +0000 (10:12 +0000)
lib/ldap.c

index d026f00..0119967 100644 (file)
@@ -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