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: biswapesh dot chattopadhyay at bt dot com, gcc at gcc dot gnu dot org
- Subject: Re: [Dumb question] Is this a memory leak ?
- From: dewar at gnat dot com (Robert Dewar)
- Date: Thu, 21 Dec 2000 06:10:51 -0500 (EST)
<<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.