release any CGColor's set while the node is in a pending state

This commit is contained in:
Ethan Nagel 2015-10-28 11:01:01 -07:00
parent 2c8626e1f6
commit a2bc2074cc

View File

@ -981,4 +981,11 @@
return pendingState;
}
- (void)dealloc
{
CGColorRelease(backgroundColor);
CGColorRelease(shadowColor);
CGColorRelease(borderColor);
}
@end