MemoryHeap::Release

MemoryHeap::Release
virtual void Release() = 0;
Description

Release releases the heap and deallocates it unless there are other references to the heap. Other references can come either from child heaps or multiple external references to the heap. Internal allocations are NOT considered references for heap lifetime which is reference counted. 

Note: Release should be called only for heaps created with CreateHeap