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 ?


<<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]