Contents

CGColorRelease

Decrements the retain count of a color.

Declaration

extern void CGColorRelease(CGColorRef color);

Parameters

  • color:

    The color to release.

Discussion

This function is equivalent to CFRelease, except that it does not cause an error if the color parameter is NULL.

See Also

Retaining and Releasing Color Objects