From 3ed3b692e3060e267c545c9a466192eb115686bf Mon Sep 17 00:00:00 2001 From: rfm Date: Thu, 14 Apr 2011 12:31:51 +0000 Subject: [PATCH] gc fixup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32860 72102866-910b-0410-8b05-ffd578937521 --- Source/NSObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSObject.m b/Source/NSObject.m index b2a74411f..11c83f943 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -673,7 +673,7 @@ NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone) * -finalize method or has C++ destructors. */ if (GSIsFinalizable(aClass) - || class_respondsToSelector(destructorClass, cxx_destruct)) + || class_respondsToSelector(aClass, cxx_destruct)) { /* We only do allocation counting for objects that can be * finalised - for other objects we have no way of decrementing