mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix unneeded retain.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4274 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5063e7bbfc
commit
996986cf1a
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
|||
Thu May 20 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/GSeq.h: Add support for comparison and search.
|
||||
* Source/NSString.m: Use comparison and search functions from GSeq.h
|
||||
* Source/NSGString.m: Use comparison and search functions from GSeq.h
|
||||
* Source/NSGCString.m: Use comparison and search functions from GSeq.h
|
||||
* Source/Makefile.postamble: Make all string files depend on GSeq.h
|
||||
* Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
|
||||
|
||||
Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
|
|
|
@ -105,7 +105,6 @@ static SEL eventSel = @selector(receivedEvent:type:extra:forMode:);
|
|||
- (void) dealloc
|
||||
{
|
||||
RELEASE(_date);
|
||||
RELEASE(receiver);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -124,7 +123,7 @@ static SEL eventSel = @selector(receivedEvent:type:extra:forMode:);
|
|||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"NSRunLoop - unknown event type"];
|
||||
}
|
||||
receiver = RETAIN(anObj);
|
||||
receiver = anObj;
|
||||
if ([receiver respondsToSelector: eventSel] == YES)
|
||||
handleEvent = [receiver methodForSelector: eventSel];
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue