Remove timer when deallocating defaults object

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3688 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-02-11 09:27:35 +00:00
parent ba41ef75c5
commit b74d900cdb

View file

@ -272,7 +272,7 @@ static NSMutableString *processName = nil;
// Either userName is empty or it's wrong
if (!userHome)
{
[self dealloc];
[self release];
return nil;
}
filename = [NSString stringWithFormat: @"%@/%@",
@ -337,7 +337,7 @@ static NSMutableString *processName = nil;
}
if (done == NO)
{
[self dealloc];
[self release];
return self = nil;
}
}
@ -371,6 +371,8 @@ static NSMutableString *processName = nil;
- (void)dealloc
{
if (tickingTimer)
[tickingTimer invalidate];
[searchList release];
[persDomains release];
[tempDomains release];