mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c03261dd56
commit
af908b993e
16 changed files with 920 additions and 983 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSThread.h>
|
||||
#include <Foundation/NSZone.h>
|
||||
#include <limits.h>
|
||||
|
||||
/* TODO:
|
||||
|
@ -299,7 +300,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
|||
for (i = 0; i < released->count; i++)
|
||||
{
|
||||
id anObject = released->objects[i];
|
||||
if (object_get_class(anObject) == (void*) 0xdeadface)
|
||||
if (!NSZoneMemInUse(anObject))
|
||||
[NSException
|
||||
raise: NSGenericException
|
||||
format: @"Autoreleasing deallocated object.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue