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; }