Brendan Shanks (@bshanks) commented about dlls/winemac.drv/cocoa_window.m:
} }
- (CGImageRef) setColorImage:(CGImageRef)image
- {
CGImageRef previous = colorImage;
colorImage = image;
return previous;
I think it would be better to do the release/retain calls here in the setter, rather than in `macdrv_window_set_color_image()`. Then the setter can also return void.