mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
(NSDeallocateObject): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
df0f3a1d34
commit
19653932cf
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ void NSDeallocateObject(NSObject *anObject)
|
||||||
{
|
{
|
||||||
if ((anObject!=nil) && CLS_ISCLASS(((id)anObject)->class_pointer))
|
if ((anObject!=nil) && CLS_ISCLASS(((id)anObject)->class_pointer))
|
||||||
{
|
{
|
||||||
NSZone z = [anObject zone];
|
NSZone *z = [anObject zone];
|
||||||
((id)anObject)->class_pointer = (void*) 0xdeadface;
|
((id)anObject)->class_pointer = (void*) 0xdeadface;
|
||||||
NSZoneFree (z, anObject);
|
NSZoneFree (z, anObject);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue