From f56b4f89779f67d3306c58ab661acb83e4d90dcc Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:45:53 +0100 Subject: [PATCH] DPL: do not leak metadata file descriptor (#13663) --- Framework/AnalysisSupport/src/Plugin.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Framework/AnalysisSupport/src/Plugin.cxx b/Framework/AnalysisSupport/src/Plugin.cxx index baa1b36dd41a5..32a86d37aebb9 100644 --- a/Framework/AnalysisSupport/src/Plugin.cxx +++ b/Framework/AnalysisSupport/src/Plugin.cxx @@ -142,6 +142,7 @@ struct DiscoverMetadataInAOD : o2::framework::ConfigDiscoveryPlugin { if (tables.empty() == false) { results.push_back(ConfigParamSpec{"aod-metadata-tables", VariantType::ArrayString, tables, {"Tables in first AOD"}}); } + currentFile->Close(); return results; }}; }