Fix infinite loop

This commit is contained in:
Wolfgang Lux 2019-06-11 11:33:34 +02:00
parent 42b404c586
commit e01a43a291

View file

@ -2625,8 +2625,8 @@ GSPrivateMemorySize(NSObject *self, NSHashTable *exclude)
while (c != Nil)
{
size += [c contentSizeInBytesOf: self excluding: exclude];
c = class_getSuperclass(c);
}
c = class_getSuperclass(c);
}
return size;
}