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:
Axel Dörfler 2012-03-31 14:23:00 +02:00
parent 09ec0ad9c3
commit 439495d8d4

View File

@ -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);
}