gcc 2.96, libstdc++ v3 and efence

Alexandre Oliva aoliva@redhat.com
Mon Aug 21 20:46:00 GMT 2000

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[]'.

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Libstdc++ mailing list