Skip to content

Commit 8c0a193

Browse files
authored
[EMCAL-525] Fix memory leak CellTask (#2521)
* [EMCAL-525] fix memory leak CellTask * [EMCAL-525] fix memory leak EMCal CellTask
1 parent 888eebf commit 8c0a193

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Modules/EMCAL/src/CellTask.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,9 +1052,6 @@ void CellTask::CellHistograms::fillHistograms(const o2::emcal::Cell& cell, bool
10521052
} catch (o2::emcal::InvalidCellIDException& e) {
10531053
ILOG(Info, Support) << "Invalid cell ID: " << e.getCellID() << ENDM;
10541054
}
1055-
1056-
o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThr);
1057-
o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThrBelow);
10581055
}
10591056

10601057
void CellTask::CellHistograms::countEvent()
@@ -1094,6 +1091,8 @@ void CellTask::CellHistograms::startPublishing(o2::quality_control::core::Object
10941091
publishOptional(mCellAmplitudeCalib_EMCAL);
10951092
publishOptional(mCellAmplitudeCalib_DCAL);
10961093
publishOptional(mCellOccupancy);
1094+
o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThr);
1095+
o2::quality_control_modules::emcal::DrawGridlines::DrawSMGridInTriggerGeo(mCellOccupancyThrBelow);
10971096
publishOptional(mCellOccupancyThr);
10981097
publishOptional(mCellOccupancyThrBelow);
10991098
publishOptional(mCellOccupancyGood);

0 commit comments

Comments
 (0)