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: Gary V . Vaughan
Subject: Re: libtool-1.3.5 memory leak
Date: Mon, 16 Apr 2001 20:50:33 +0100

Hi Chad,

On Monday 16 April 2001  4:29 pm, Chad Miller wrote:
> 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.

By inspection, I can't find a code path through lt_dlopen which allocates 
memory to one of the four variables your patch fixes without freeing them 
later on.  Hopefully, this means that libtool-1.4 won't have this leak...

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

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