Brendan Shanks (@bshanks) commented about dlls/winemac.drv/cocoa_window.m:
} }
- (void) setColorImage:(CGImageRef)image
- {
CGImageRelease(colorImage);
CGImageRetain((colorImage = image));
I think `colorImage = CGImageRetain(image)` or separate statements would be a bit less awkward