mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
gc fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32860 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
248f5eb94c
commit
88cd94d250
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue