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:
Richard Frith-MacDonald 1999-05-20 09:29:02 +00:00
parent 5063e7bbfc
commit 996986cf1a
2 changed files with 3 additions and 3 deletions

View file

@ -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