14 Jun
2024
14 Jun
'24
7:19 p.m.
On Fri Jun 14 19:01:33 2024 +0000, Brendan Shanks wrote:
Not a big deal, but you could avoid needing the destroy callback by using a CFMutableData instead of malloc(). Create a CFMutableData, set the length, set *bits to the byte ptr, create the CGDataProvider with the CFMutableData, then release it. Done.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5798#note_73243