From a31aafc2079bb86edb7cbb2b6f204629a76cd75b Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 18 Mar 1995 16:57:31 +0000 Subject: [PATCH] (NSDeallocateObject): Use zone argument. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@159 72102866-910b-0410-8b05-ffd578937521 --- Source/NSDeallocateObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSDeallocateObject.m b/Source/NSDeallocateObject.m index c40d733b2..7630096d6 100644 --- a/Source/NSDeallocateObject.m +++ b/Source/NSDeallocateObject.m @@ -26,6 +26,6 @@ void NSDeallocateObject(NSObject *anObject) { if ((anObject!=nil) && CLS_ISCLASS(((id)anObject)->class_pointer)) - NSZoneFree (anObject); + NSZoneFree ([anObject zone], anObject); return; }