View | Details | Raw Unified | Return to issue 119991
Collapse All | Expand All

(-)svx/source/unodraw/unopool.cxx (+6 lines)
Lines 66-71 Link Here
66
66
67
SvxUnoDrawPool::~SvxUnoDrawPool() throw()
67
SvxUnoDrawPool::~SvxUnoDrawPool() throw()
68
{
68
{
69
	// memory leak #119991: to release the secondary pool created in function SvxUnoDrawPool::init()
70
	SfxItemPool* pSecondaryPool=mpDefaultsPool->GetSecondaryPool();
71
	if (pSecondaryPool != NULL)
72
		SfxItemPool::Free(pSecondaryPool);
73
	// memory leak #119991
74
69
    SfxItemPool::Free(mpDefaultsPool);
75
    SfxItemPool::Free(mpDefaultsPool);
70
}
76
}
71
77

Return to issue 119991