Apache OpenOffice (AOO) Bugzilla – Attachment #71021: fix code patch file (Based on OOo3.1M11 code) for issue #113748
XMLTextListAutoStylePool::~XMLTextListAutoStylePool()
{
//
// Memory leak. The XMLTextListAutoStylePoolEntry_Impl object in the pool need delete explicitly in dtor.
sal_uInt32 nCount = pPool->Count();
while ( nCount-- )
delete pPool->Remove((ULONG)nCount);
delete pPool;
delete pNames;
}