Kaydet (Commit) 02df6247 authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: secondary pool leaks here

üst ffe82826
......@@ -69,7 +69,12 @@ SvxUnoDrawPool::SvxUnoDrawPool( SdrModel* pModel ) throw()
SvxUnoDrawPool::~SvxUnoDrawPool() throw()
{
SfxItemPool::Free(mpDefaultsPool);
if (mpDefaultsPool)
{
SfxItemPool* pOutlPool = mpDefaultsPool->GetSecondaryPool();
SfxItemPool::Free(mpDefaultsPool);
SfxItemPool::Free(pOutlPool);
}
}
void SvxUnoDrawPool::init()
......
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