Function

CGColorRelease

Decrements the retain count of a color.

Declaration

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

CGColorRetain

Increments the retain count of a color.