We need a structure that manages heap alloc/dealloc through a local object (on stack). => sure to deallocate all the stuff even if an exception is thrown.