Skip to content

Commit f422114

Browse files
committed
DPL: do not leak metadata file descriptor
1 parent 2475cbc commit f422114

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)