formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory
Description
Disposes of a memory block. This will release a memory block back to the mem zone. The mem zone can be either static or dynamic, or NULL. If the mem zone is NULL, the call is the same a . The memory must be freed using the same mem zone that it was allocated with.
Plugin Prototype
fzrt_error_td fz_mem_zone_free(
zone_ptr, | |
fzrt_ptr * | ptr ) |
Parameters
zone_ptr [Input]
mem zone to allocate memory from, NULL to release from
ptr [Input]
pointer to memory to release
Returns
FZRT_NOERR on success, error ID otherwise.
Availability
5.0.0.0
See Also
, fz_mem_zone_static_init, fz_mem_zone_alloc
Function Set
Defined in