Function Memory.freeVec

freeVec -- Free vectored memory

void freeVec (
  void* memoryBlock
);

Free an allocation made by the AllocVec() call. The memory will be returned to the system pool from which it came.

Parameters

NameDescription
memoryBlock block to free. Must be allocated with AllocVec()

Returns

none

Notes

If a block of memory is freed twice, the system will Guru. The Alert is SEN_FreeTwice. If you pass the wrong pointer, you will probably see SEN_MemCorrupt. Future versions may add more sanity checks to the memory lists.

See

AllocVec()