mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix deallocation of uninitialised runloop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12355 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec673faae4
commit
1ef0e88ad4
1 changed files with 11 additions and 7 deletions
|
@ -1630,16 +1630,20 @@ if (0) {
|
|||
- (void) gcFinalize
|
||||
{
|
||||
#if HAVE_POLL
|
||||
{
|
||||
pollextra *e = (pollextra*)_extra;
|
||||
if (_extra != 0)
|
||||
{
|
||||
pollextra *e = (pollextra*)_extra;
|
||||
|
||||
if (e->index != 0)
|
||||
objc_free(e->index);
|
||||
objc_free(e);
|
||||
}
|
||||
if (e->index != 0)
|
||||
objc_free(e->index);
|
||||
objc_free(e);
|
||||
}
|
||||
#endif
|
||||
RELEASE(_contextStack);
|
||||
NSFreeMapTable(_contextMap);
|
||||
if (_contextMap != 0)
|
||||
{
|
||||
NSFreeMapTable(_contextMap);
|
||||
}
|
||||
RELEASE(_timedPerformers);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue