diff options
author | Alan Curry <pacman@world.std.com> | 2001-04-17 02:42:46 +0000 |
---|---|---|
committer | Robert Boehne <rboehne@gnu.org> | 2001-04-17 02:42:46 +0000 |
commit | 0dc5719b1a8282dbb019a0f93fecc34c5578d7fd (patch) | |
tree | bc2d882e1dc0797df5db440ad95fb527062de205 | |
parent | f767619267a81db3298ed9787b0c307c596d3808 (diff) | |
download | libtool-branch-1-3.tar.gz |
Fixed a memory leak in lt_dlopen().branch-1-3
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libltdl/ltdl.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2001-04-16 Alan Curry <pacman@world.std.com> + + * libltdl/ltdl.c (lt_dlopen): Fixed a memory leak. + 2001-03-06 Alexandre Oliva <aoliva@redhat.com> * ltconfig.in (can_build_shared) [AIX 4.[01], GCC]: GCC up to diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index aec38497..1fbe962c 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); } |