mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:40:37 +00:00
Memory leak fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17295 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b04ce4006b
commit
fe15f366b4
4 changed files with 23 additions and 3 deletions
|
@ -62,7 +62,7 @@ static NSMutableDictionary *cursorDict = nil;
|
|||
NSCursor_class = self;
|
||||
gnustep_gui_cursor_stack = [[NSMutableArray alloc] initWithCapacity: 2];
|
||||
gnustep_gui_hidden_until_move = YES;
|
||||
cursorDict = RETAIN([NSMutableDictionary dictionary]);
|
||||
cursorDict = [NSMutableDictionary new];
|
||||
[[self arrowCursor] push];
|
||||
}
|
||||
}
|
||||
|
@ -248,7 +248,11 @@ backgroundColorHint:(NSColor *)bg
|
|||
}
|
||||
return cursor;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
RELEASE (_cursor_image);
|
||||
[super dealloc];
|
||||
}
|
||||
/*
|
||||
* Defining the Cursor
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue