Releases all memory owned by this resource by calling the
deallocate function of the upstream memory resource as needed.
Memory is released back to the upstream resource even if
deallocate has not been called for some of the allocated blocks.
| deallocates memory
(public member function of
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.