19 Jun
2024
19 Jun
'24
5:37 p.m.
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 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5798#note_73764