git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32860 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-04-14 12:31:51 +00:00
parent 248f5eb94c
commit 88cd94d250

View file

@ -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