Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 1998 12:34:31 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        dg@root.com, freebsd-current@FreeBSD.ORG
Subject:   Re: memory leaks in libc
Message-ID:  <199808061634.MAA14269@khavrinen.lcs.mit.edu>
In-Reply-To: <199808061335.XAA23389@godzilla.zeta.org.au>
References:  <199808061335.XAA23389@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 6 Aug 1998 23:35:45 +1000, Bruce Evans <bde@zeta.org.au> said:

>> Perhaps Bruce is suggesting that a seperate array be allocated to keep
>> track of whether or not an env pointer was malloced? This would be very
>> costly and, IMO, not worth it considering how rarely memory is lost by
>> not freeing previously malloced strings.

> Erm, this would be quite cheap, considering how rarely the environment is
> updated except by programs that want to demonstrate leaks in it.

So you both agree, then, that there is no point in wasting any more
time on this?

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808061634.MAA14269>