Kaydet (Commit) 79a13ea7 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: Null-deref

Change-Id: I5fefd9ba125c3769cdcb8a97f1a00a2aad5b21f4
Reviewed-on: https://gerrit.libreoffice.org/46369Tested-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 255376ba
......@@ -414,6 +414,8 @@ SwHTMLParser::~SwHTMLParser()
#endif
OSL_ENSURE(m_aContexts.empty(), "There are still contexts on the stack");
OSL_ENSURE(!m_nContextStMin, "There are protected contexts");
m_nContextStMin = 0;
while (!m_aContexts.empty())
{
std::unique_ptr<HTMLAttrContext> xCntxt(PopContext());
......
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