Re: NEVER USE return str_dup(s); !!!

From: Scatter (scatter@onramp.net)
Date: 09/30/95


On Fri, 15 Sep 1995, Katzlberger Thomas wrote:

> > Maybe str_dup()? (its defined in utils.c)
> 
> Don't even think about doing that !!!!!!!!!!!!
> This is the classical example of a memory leak !
> 
> Everytime you pass this point you will have some bytes of
> memory less and some garbage more in memory until you crash.
> 

Why is that?



This archive was generated by hypermail 2b30 : 12/07/00 PST