mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix uninitialsed varibale reference
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26548 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44c6240b1c
commit
1a8c484d5b
2 changed files with 5 additions and 1 deletions
|
@ -707,7 +707,7 @@ static inline BOOL timerInvalidated(NSTimer *t)
|
|||
NSMapInsert(current->_contextMap, context->mode, context);
|
||||
RELEASE(context);
|
||||
}
|
||||
if (context->housekeeper != timer)
|
||||
if (context->housekeeper != nil)
|
||||
{
|
||||
[context->housekeeper invalidate];
|
||||
DESTROY(context->housekeeper);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue