woollybah il y a 10 ans
Parent
commit
6b9ced04ab
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cocoamaxgui.mod/cocoa.macos.m

+ 1 - 1
cocoamaxgui.mod/cocoa.macos.m

@@ -4416,7 +4416,7 @@ NSImage *NSPixmapImage(bbpixmap *pix){
 
 	image=[[NSImage alloc] initWithSize:NSMakeSize(pix->width,  pix->height)];
 	[image addRepresentation:bitmap];
-	[image retain];
+	[image autorelease];
 	return image;
 }