mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
53f31c7340
commit
3ed3b692e3
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.
|
* -finalize method or has C++ destructors.
|
||||||
*/
|
*/
|
||||||
if (GSIsFinalizable(aClass)
|
if (GSIsFinalizable(aClass)
|
||||||
|| class_respondsToSelector(destructorClass, cxx_destruct))
|
|| class_respondsToSelector(aClass, cxx_destruct))
|
||||||
{
|
{
|
||||||
/* We only do allocation counting for objects that can be
|
/* We only do allocation counting for objects that can be
|
||||||
* finalised - for other objects we have no way of decrementing
|
* finalised - for other objects we have no way of decrementing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue