mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Fix leak of dictionary object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ae748fe603
commit
026b8c4310
2 changed files with 41 additions and 4 deletions
|
@ -5605,8 +5605,8 @@ byExtendingSelection: (BOOL)flag
|
|||
{
|
||||
NSMutableDictionary *d;
|
||||
|
||||
d = [[NSMutableDictionary alloc] initWithDictionary:
|
||||
[aNotification userInfo]];
|
||||
d = [NSMutableDictionary dictionaryWithDictionary:
|
||||
[aNotification userInfo]];
|
||||
[d setObject: [aNotification object] forKey: @"NSFieldEditor"];
|
||||
[nc postNotificationName: NSControlTextDidBeginEditingNotification
|
||||
object: self
|
||||
|
@ -5622,7 +5622,7 @@ byExtendingSelection: (BOOL)flag
|
|||
@selector(textDidChange:)])
|
||||
[_editedCell textDidChange: aNotification];
|
||||
|
||||
d = [[NSMutableDictionary alloc] initWithDictionary:
|
||||
d = [NSMutableDictionary dictionaryWithDictionary:
|
||||
[aNotification userInfo]];
|
||||
[d setObject: [aNotification object] forKey: @"NSFieldEditor"];
|
||||
[nc postNotificationName: NSControlTextDidChangeNotification
|
||||
|
@ -5651,7 +5651,7 @@ byExtendingSelection: (BOOL)flag
|
|||
_editedColumn = -1;
|
||||
_editedRow = -1;
|
||||
|
||||
d = [[NSMutableDictionary alloc] initWithDictionary:
|
||||
d = [NSMutableDictionary dictionaryWithDictionary:
|
||||
[aNotification userInfo]];
|
||||
[d setObject: [aNotification object] forKey: @"NSFieldEditor"];
|
||||
[nc postNotificationName: NSControlTextDidEndEditingNotification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue