Re: problem with new

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OOPS...

This line...

You can get heap corruption by using new to allocate, but using delete to deallocate.

..should have read...

You can get heap corruption by using new to allocate, but using delete[] to deallocate.

Doh,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux