Kaydet (Commit) 51b85a38 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Simplification

üst 23e8cfdb
......@@ -66,16 +66,9 @@ OStoreLockBytes::OStoreLockBytes (void)
*/
OStoreLockBytes::~OStoreLockBytes (void)
{
if (m_xManager.is())
if (m_xManager.is() && m_xNode.is())
{
if (m_xNode.is())
{
OStorePageDescriptor aDescr (m_xNode->m_aDescr);
if (m_bWriteable)
m_xManager->releasePage (aDescr);
else
m_xManager->releasePage (aDescr);
}
m_xManager->releasePage(m_xNode->m_aDescr);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment