From: Alan Curry Date: Tue, 17 Apr 2001 02:42:46 +0000 (+0000) Subject: Fixed a memory leak in lt_dlopen(). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fbranch-1-3;p=thirdparty%2Flibtool.git Fixed a memory leak in lt_dlopen(). --- diff --git a/ChangeLog b/ChangeLog index ab14f63c1..87ef8c409 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-16 Alan Curry + + * libltdl/ltdl.c (lt_dlopen): Fixed a memory leak. + 2001-03-06 Alexandre Oliva * ltconfig.in (can_build_shared) [AIX 4.[01], GCC]: GCC up to diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index aec38497d..1fbe962cc 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -1365,6 +1365,7 @@ lt_dlopen (filename) free_vars(name, dir, dlname, old_name, libdir, deplibs); return 0; } + free_vars(NULL, NULL, dlname, old_name, libdir, deplibs); if (handle != newhandle) { unload_deplibs(handle); }