Function

NSZoneFree

Deallocates a block of memory in the specified zone.

Declaration

void NSZoneFree(NSZone *zone, void *ptr);

Discussion

Returns memory to the zone from which it was allocated. The standard C function free does the same, but spends time finding which zone the memory belongs to.

See Also

Managing Zones

NSCreateZone

Creates a new zone.

NSRecycleZone

Frees memory in a zone.

NSSetZoneName

Sets the name of the specified zone.

NSZoneCalloc

Allocates memory in a zone.

NSZoneFromPointer

Gets the zone for a given block of memory.

NSZoneMalloc

Allocates memory in a zone.

NSZoneName

Returns the name of the specified zone.

NSZoneRealloc

Allocates memory in a zone.

NSDefaultMallocZone

Returns the default zone.