Kaydet (Commit) 61037c62 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: leak of prefixes in skipped elements

Change-Id: I8e83eb605bdf5991988e147cf8478e44c858a2b0
Reviewed-on: https://gerrit.libreoffice.org/42320Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9e06588a
......@@ -545,6 +545,11 @@ void DocumentHandlerImpl::startElement(
else
{
++m_nSkipElements;
// pop prefixes
for (sal_Int32 nPos = elementEntry->m_prefixes.size(); nPos--;)
popPrefix(elementEntry->m_prefixes[nPos]);
SAL_INFO("xmlscript.xmlhelper", " no context given on createChildElement() => ignoring element \"" << rQElementName << "\" ...");
}
}
......
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