mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix infinite loop
This commit is contained in:
parent
42b404c586
commit
e01a43a291
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue