This is the mail archive of the gcc-help@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: gcc 2.96, libstdc++ v3 and efence




> On Aug 21, 2000, Maurizio Umberto Puxeddu <umbpux@tin.it> wrote:
> 
> >   int *p = new int;
> >   delete [] p;
> 
> This is wrong.  If you allocate with `new', deallocate with `delete',
> not `delete[]'.

that was obviously just a typo.
but the problem is there, have you seen the back trace?

MUP

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