Autorelease the new image.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19130 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2004-04-16 13:39:00 +00:00
parent 3b4a1570d4
commit f126976fd5
2 changed files with 6 additions and 1 deletions

View file

@ -4915,7 +4915,7 @@ byExtendingSelection: (BOOL)flag
NSImage *dragImage = [[NSImage alloc]
initWithSize: NSMakeSize(8, 8)];
return dragImage;
return AUTORELEASE(dragImage);
}
- (void) setDropRow: (int)row