summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-06-07 14:11:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-10 13:47:02 +0200
commit98d1b2502cece3a5bd8c5a0a040b4e20327a8560 (patch)
tree0ab291a784c7190cf8f885b06ec1cc4d0de0d014 /l10ntools
parenta24246e1b5910482ed200b24f24a11fcfe04d00a (diff)
Use xmlFreeDoc since pXhpFile is a xmlDocPtr (l10ntools/treemerge)
Change-Id: I32fb8824aa91464d2198c76ba9357c82ec87a0ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95666 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/treemerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index b6d246317b23..b430575bb693 100644
--- a/l10ntools/source/treemerge.cxx
+++ b/l10ntools/source/treemerge.cxx
@@ -133,7 +133,7 @@ namespace
<< sXhpPath << std::endl;
return nullptr;
}
- xmlFree( pXhpFile );
+ xmlFreeDoc( pXhpFile );
xmlCleanupParser();
}
return pReturn;