Don't leak dtables.

main
theraven 15 years ago
parent 7be9f34619
commit 775021effa

@ -102,6 +102,10 @@ static void deallocLockClass(id obj, SEL _cmd)
// Free the lock
mutex_t *lock = object_getIndexedIvars(lockClass);
DESTROY_LOCK(lock);
// FIXME: Low memory profile.
SparseArrayDestroy(lockClass->dtable);
// Free the class
free(lockClass);
}

Loading…
Cancel
Save