mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
Inode was leaking its small data lock.
* This should not have harmed normal operation (as an Inode is only destroyed when it is no longer being used), but the fs_shell could run out of semaphores easily.
This commit is contained in:
parent
09ec0ad9c3
commit
439495d8d4
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2010, Axel Dörfler, axeld@pinc-software.de.
|
||||
* Copyright 2001-2012, Axel Dörfler, axeld@pinc-software.de.
|
||||
* This file may be used under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
@ -400,6 +400,7 @@ Inode::~Inode()
|
||||
delete fTree;
|
||||
|
||||
rw_lock_destroy(&fLock);
|
||||
recursive_lock_destroy(&fSmallDataLock);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user