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 11:29:00 -0400
User-agent: Mutt/1.3.15i

> Chad Miller wrote:
> > --- libltdl/ltdl.c      Tue Nov  2 07:36:23 1999
> > +++ /home/cmiller/radiusd/libltdl/ltdl.c        Fri Feb  9 11:15:34 2001
> > @@ -1349,6 +1349,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);
> >                 }
> > 

On Mon, Apr 16, 2001 at 10:20:55AM -0500, Robert Boehne wrote:
> Please post a discription of the problem you are encountering,
> why you believe there is a bug, and any relevant information.
> That will make it easier to see where any errors lie.

Hi Robert,

It's a memory leak.  Loading objects leaks a few words of memory.
Over time, frequently loading leaks a _lot_ of memory.  The above
patch plugs it.  (Searching the FreeRADIUS devel list of a few months 
ago would give the discussion about it, if you care that much.)

This may be fixed in the devel line -- I don't know.  The code's a 
bit different.

                                                - chad

-- 
Chad Miller <address@hidden>  | Policeman: You're playing God!
unix brujo, shutterbug, bookworm     | Dr. Hfuhruhurr: *Somebody* has to!
URL: http://web.chad.org/home/     from ``The Man with Two Brains'' (1993)



reply via email to

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