ST_USE_SAFE_MEMORY_FREE definition

When this constant is set to 1, specifying invalid address to stMemoryFree function will not cause any problems and will return with FALSE value in case of invalid address. The last error code will be set to ERR_INVALID_MEMORY_BLOCK. This constant is default set to 1, however using safe memory releasing method cause longer memory allocation and releasing. To speed up this process, a ST_USE_SAFE_MEMORY_FREE constant may be set to 0, to disable controlling allocated addresses. When it is disabled, specifying invalid address to stMemoryFree will lead to unpredictable results and can cause the system hang.

SpaceShadow documentation