More leaks fixed

This commit is contained in:
rfm 2024-11-16 13:34:56 +00:00
parent 87c50830e2
commit aedd13dc94
19 changed files with 174 additions and 153 deletions

View file

@ -6,7 +6,7 @@ int main()
{
NSAutoreleasePool *arp = [NSAutoreleasePool new];
BOOL ret;
NSLock *lock = [NSRecursiveLock new];
NSLock *lock = AUTORELEASE([NSRecursiveLock new]);
ret = [lock tryLock];
if (ret)