mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
ba41ef75c5
commit
b74d900cdb
1 changed files with 4 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue