This commit is contained in:
rfm 2025-01-09 06:06:12 +00:00
parent bf90656ab7
commit 05d34f1a30
2 changed files with 2 additions and 18 deletions

View file

@ -308,17 +308,8 @@ relinquishRetainedMemory(const void *item,
break;
case NSPointerFunctionsOpaquePersonality:
if (NSPointerFunctionsMachVirtualMemory == memoryType
|| NSPointerFunctionsMallocMemory == memoryType)
{
_x.acquireFunction = acquireMallocMemory;
_x.relinquishFunction = relinquishMallocMemory;
}
else
{
_x.acquireFunction = 0;
_x.relinquishFunction = 0;
}
_x.acquireFunction = 0;
_x.relinquishFunction = 0;
_x.descriptionFunction = describePointer;
_x.hashFunction = hashShifted;
_x.isEqualFunction = equalDirect;