coverity#705725: fix memory leak

Change-Id: I862ea9c4958497cc338b93bd0852c0b1494aee81
This commit is contained in:
Markus Mohrhard
2013-03-02 11:47:26 +01:00
parent 887ed7f13b
commit 48d099a85a

View File

@@ -883,6 +883,10 @@ void StgDirStrm::SetupEntry( sal_Int32 n, StgDirEntry* pUpper )
SetupEntry( nRight, pUpper );
SetupEntry( nLeaf, pCur );
}
else
{
delete pCur;
}
}
}