mallocMC icon indicating copy to clipboard operation
mallocMC copied to clipboard

Host Object should use RAII

Open slizzered opened this issue 10 years ago • 0 comments

Currently, the host object must call the finalizeHeap() method to free all memory.

An improvement would be to implement everything in the destructor and use RAII.

This would probably work best with something like std::shared_ptr, so it will most likely be postponed until C++11.

slizzered avatar Dec 07 '15 15:12 slizzered