Skip to content

Commit f56b4f8

Browse files
authored
DPL: do not leak metadata file descriptor (#13663)
1 parent 8be37ef commit f56b4f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Framework/AnalysisSupport/src/Plugin.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ struct DiscoverMetadataInAOD : o2::framework::ConfigDiscoveryPlugin {
142142
if (tables.empty() == false) {
143143
results.push_back(ConfigParamSpec{"aod-metadata-tables", VariantType::ArrayString, tables, {"Tables in first AOD"}});
144144
}
145+
currentFile->Close();
145146
return results;
146147
}};
147148
}

0 commit comments

Comments
 (0)