Don't return too early, clean vars first (l10ntools/treemerge)

Change-Id: Ib99e0897fa36bdd0c8d805e38e77c3d626c0569a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96302
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Julien Nabet 2020-06-14 22:35:01 +02:00 committed by Noel Grandin
parent 38cf1f1535
commit 8ce99faaf6

View file

@ -131,7 +131,7 @@ namespace
std::cerr
<< "Treex error: Cannot find title in "
<< sXhpPath << std::endl;
return nullptr;
pReturn = nullptr;
}
xmlFreeDoc( pXhpFile );
xmlCleanupParser();