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>
This commit is contained in:
Julien Nabet 2020-06-07 14:11:22 +02:00 committed by Noel Grandin
parent a24246e1b5
commit 98d1b2502c

View file

@ -133,7 +133,7 @@ namespace
<< sXhpPath << std::endl;
return nullptr;
}
xmlFree( pXhpFile );
xmlFreeDoc( pXhpFile );
xmlCleanupParser();
}
return pReturn;