Commit 17cbc13b authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winemac.drv: Fix use-after-free in macdrv_copy_pasteboard_types.

Fixes a regression from bb2e02ab.
parent 013f54af
......@@ -103,6 +103,7 @@ CFArrayRef macdrv_copy_pasteboard_types(CFTypeRef pasteboard)
@"com.compuserve.gif" : @(NSBitmapImageFileTypeGIF),
@"public.jpeg" : @(NSBitmapImageFileTypeJPEG),
};
[BitmapOutputTypeMap retain];
});
OnMainThread(^{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment