One more important point: This isn't simply a memory leak issue. Consider a situation where you're allocating an object that writes data to a very fragile file; failing to deallocate it properly could well result in a corrupt file! Yes, RAII should be taken very seriously indeed...