This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: [Dumb question] Is this a memory leak ?


Thanks all - sorry for the offtopic post.

- Biswa.

> -----Original Message-----
> From: dewar@gnat.com [mailto:dewar@gnat.com]
> Sent: 21 December 2000 11:11
> To: biswapesh.chattopadhyay@bt.com; gcc@gcc.gnu.org
> Subject: Re: [Dumb question] Is this a memory leak ?
> 
> 
> <<Basically, I'm free()-ing an address which is different 
> from the one I
> malloc()-ed.
> >>
> 
> which you can't do, so the answer is almost anything might happen!
> It is not a memory leak, it is a bug.
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]