1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Gisle Vanem found a lib handle leak in the ldap code

This commit is contained in:
Daniel Stenberg 2003-07-01 10:12:52 +00:00
parent 3ed3ae5bcf
commit 5931d53637

View 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