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:
parent
a24246e1b5
commit
98d1b2502c
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ namespace
|
|||
<< sXhpPath << std::endl;
|
||||
return nullptr;
|
||||
}
|
||||
xmlFree( pXhpFile );
|
||||
xmlFreeDoc( pXhpFile );
|
||||
xmlCleanupParser();
|
||||
}
|
||||
return pReturn;
|
||||
|
|
Loading…
Reference in a new issue