Function

CGLayerRelease

Decrements the retain count of a layer object.

Declaration

void CGLayerRelease(CGLayerRef layer);

Parameters

layer

The layer to release.

Discussion

This function is equivalent to calling CFRelease except that it does not crash if the layer parameter is null.

See Also

Retaining and Releasing Layers

CGLayerRetain

Increments the retain count of a layer object.