diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 964f05d0478..fab0a53ccde 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -2161,7 +2161,6 @@ GHOST_TSuccess GHOST_SystemCocoa::putClipboardImage(uint *rgba, int width, int h memcpy(dstBuffer + dstOff, srcBuffer + srcOff, rowByteCount); } - NSImage *image = [[[NSImage alloc] initWithSize:NSMakeSize(width, height)] autorelease]; [image addRepresentation:imageRep];