mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
39a39a1ab9
commit
2814567230
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
|
// Either userName is empty or it's wrong
|
||||||
if (!userHome)
|
if (!userHome)
|
||||||
{
|
{
|
||||||
[self dealloc];
|
[self release];
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
filename = [NSString stringWithFormat: @"%@/%@",
|
filename = [NSString stringWithFormat: @"%@/%@",
|
||||||
|
@ -337,7 +337,7 @@ static NSMutableString *processName = nil;
|
||||||
}
|
}
|
||||||
if (done == NO)
|
if (done == NO)
|
||||||
{
|
{
|
||||||
[self dealloc];
|
[self release];
|
||||||
return self = nil;
|
return self = nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -371,6 +371,8 @@ static NSMutableString *processName = nil;
|
||||||
|
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
|
if (tickingTimer)
|
||||||
|
[tickingTimer invalidate];
|
||||||
[searchList release];
|
[searchList release];
|
||||||
[persDomains release];
|
[persDomains release];
|
||||||
[tempDomains release];
|
[tempDomains release];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue