diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-02-03 14:17:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-02-04 08:49:58 +0100 |
commit | d842ba65ec0c4e17a951570b0464afbfeac24dce (patch) | |
tree | c64d8c1d3d54af7af579f00abd687b18e6c236d4 | |
parent | cid#1591486 Logically dead code (diff) | |
download | core-d842ba65ec0c4e17a951570b0464afbfeac24dce.tar.gz core-d842ba65ec0c4e17a951570b0464afbfeac24dce.zip |
cid#1591495 Resource leak
since:
commit 1d7ce421480d9170316533de03feb8d04eb5c767
Date: Tue Jan 30 17:15:07 2024 +0600
tdf#159438: when there's no frame, close previous bookmark first
Change-Id: I81a28429041047afbe6f4cea327e6f19e3805cc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162953
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | test/source/xmltesttools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index 143819cc6c5b..b0e4cf48e989 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -303,6 +303,7 @@ void XmlTestTools::assertXPathNodeName(const xmlDocUniquePtr& pXmlDoc, const OSt xmlNodePtr pXmlNode = pXmlNodes->nodeTab[0]; CPPUNIT_ASSERT_EQUAL_MESSAGE(OString(OString::Concat("In XPath '" + rXPath + "' name of node is incorrect")).getStr(), rExpectedName, oconvert(pXmlNode->name)); + xmlXPathFreeObject(pXmlObj); } void XmlTestTools::registerODFNamespaces(xmlXPathContextPtr& pXmlXpathCtx) |