Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::memory::ReleaseEx Function
C++
MEM_PROC POINTER MEM_API ReleaseEx(POINTER pData DBG_PASS);
#define Release(p) ReleaseEx( (p) DBG_SRC )
Parameters 
Description 
pointer to allocated block to release. 

Releases an allocated block. Memory becomes free to allocate again. If debugging information is passed, the releasing source and line is recorded in the block. (can be used to find code deallocating memory it shouldn't). 

This also works with Hold(), and decrements the hold counter. If there are no more holds on the block, then the block is released.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!