diff --git a/src/kits/storage/Node.cpp b/src/kits/storage/Node.cpp index 6b193de645..32bd6ce4c3 100644 --- a/src/kits/storage/Node.cpp +++ b/src/kits/storage/Node.cpp @@ -168,10 +168,11 @@ BNode::BNode(const BNode &node) } -/*! \brief Frees all resources associated with this BNode. +/*! \brief Unlocks the BNode and frees all resources associated with it. */ BNode::~BNode() { + Unlock(); Unset(); }