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

@ -1,3 +1,8 @@
2004-04-16 15:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-dragImageForRows:event:dragImageOffset:):
Autorelease the new image.
2004-04-14 00:36 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBrowser.m (-keyDown:): When the user selects a cell

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