Patches submitted from May 20 to Aug 28 1997

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1997-09-01 21:59:51 +00:00
parent 7b12c4af23
commit a57d791f91
119 changed files with 16409 additions and 1698 deletions

View file

@ -23,9 +23,16 @@
#include <gnustep/base/preface.h>
#include <Foundation/NSDebug.h>
void NSDeallocateObject(NSObject *anObject)
{
if ((anObject!=nil) && CLS_ISCLASS(((id)anObject)->class_pointer))
NSZoneFree (NSZoneFromPointer(anObject), anObject);
{
NSZone *z = [anObject zone];
GSDebugAllocationRemove(((id)anObject)->class_pointer);
((id)anObject)->class_pointer = (void*) 0xdeadface;
NSZoneFree (z, anObject);
}
return;
}