From 8ce99faaf6714748b0d9912fb7d60f19e1b7d399 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 14 Jun 2020 22:35:01 +0200 Subject: [PATCH] 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 --- l10ntools/source/treemerge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx index b430575bb693..933edb79fad1 100644 --- a/l10ntools/source/treemerge.cxx +++ b/l10ntools/source/treemerge.cxx @@ -131,7 +131,7 @@ namespace std::cerr << "Treex error: Cannot find title in " << sXhpPath << std::endl; - return nullptr; + pReturn = nullptr; } xmlFreeDoc( pXhpFile ); xmlCleanupParser();