Skip to content
Snippets Groups Projects
Commit e05ab3d9 authored by Norbert Herrmann's avatar Norbert Herrmann
Browse files

fix memory leak

parent 8124d461
Branches
Tags
1 merge request!751fix memory leak
Pipeline #16440 passed
......@@ -45,9 +45,16 @@ void CbmTaskMakeRecoEvents::Exec(Option_t*)
if (!fDigiEvents) return;
// --- Clear output arrays
fT0Digis->clear();
fStsDigis->clear();
fRecoEvents->Clear();
fRichDigis->clear();
fMuchDigis->clear();
fTrdDigis->clear();
fTofDigis->clear();
fPsdDigis->clear();
//fRecoEvents->Clear(); //causes memory leak
fRecoEvents->Delete();
// --- Event loop
Int_t eventNr = 0;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment