mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
20ceaaea7f
commit
3fc4813dc7
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-05-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSRunLoop.m: Fix reference to uninitialised variable.
|
||||
|
||||
2008-05-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSArray.m: Fix bug allowing nil to be placed in array.
|
||||
|
|
|
@ -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…
Reference in a new issue