bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool-1.3.5 memory leak


From: Chad Miller
Subject: Re: libtool-1.3.5 memory leak
Date: Mon, 16 Apr 2001 18:38:28 -0400
User-agent: Mutt/1.3.15i

[CC Alan Curry]

On Mon, Apr 16, 2001 at 05:26:24PM -0500, Robert Boehne wrote:
> How is this? OK to commit?

Don't attribute it to me.  Alan Curry <address@hidden> did all the
work.

                                                - chad


Updated ChangeLog entry:

2001-04-16 Alan Curry <address@hidden>

        * libltdl/ltdl.c (lt_dlopen): Fixed a memory leak.


Index: libltdl/ltdl.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/ltdl.c,v
retrieving revision 1.64.2.19
diff -u -r1.64.2.19 ltdl.c
--- libltdl/ltdl.c      2000/09/04 01:53:05     1.64.2.19
+++ libltdl/ltdl.c      2001/04/16 22:23:43
@@ -1365,6 +1365,7 @@
                        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);
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]