woollybah 10 ani în urmă
părinte
comite
6b9ced04ab
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
 }