From 3d6a4dfe93b5e49c15a0799c67f7d98653a330ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= <26327373+vkucera@users.noreply.github.com> Date: Tue, 1 Dec 2026 15:39:29 +0100 Subject: [PATCH] Fix Clang-Tidy errors Fixes errors from the `clang-*` Clang-Tidy categories. --- PWGUD/Core/UDGoodRunSelector.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/PWGUD/Core/UDGoodRunSelector.cxx b/PWGUD/Core/UDGoodRunSelector.cxx index 0eb377379a3..f33ea96cec5 100644 --- a/PWGUD/Core/UDGoodRunSelector.cxx +++ b/PWGUD/Core/UDGoodRunSelector.cxx @@ -118,6 +118,7 @@ bool UDGoodRunSelector::init(std::string const& goodRunsFile) // is it a proper json document? if (jsonDocument.HasParseError()) { + fclose(fjson); LOGF(error, "Check the goodRuns file! There is a problem with the format!"); return false; }