UF-HH / bbbbAnalysis

1 stars 6 forks source link

BTagCalibrationReader instances may cause memory leak #25

Open l-cadamuro opened 4 years ago

l-cadamuro commented 4 years ago

in OfflineProducerHelper, btagCalibrationReader_ is created with new but not deleted. Probably OK in practice since we create a single oph object, but better to delete it or better to use a unique_ptr