This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: [Dumb question] Is this a memory leak ?
- To: gcc at gcc dot gnu dot org
- Subject: RE: [Dumb question] Is this a memory leak ?
- From: biswapesh dot chattopadhyay at bt dot com
- Date: Thu, 21 Dec 2000 11:12:46 -0000
- Cc: dewar at gnat dot com, J dot A dot K dot Mouw at ITS dot TUDelft dot NL
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.
>