Skip to content
Snippets Groups Projects
Commit 881867d4 authored by Vikas Singhal's avatar Vikas Singhal
Browse files

Bug fix:Memory Leak fixing by delete digi.

git-svn-id: https://subversion.gsi.de/cbmsoft/cbmroot/trunk@14704 5a1b234a-d7ce-0410-9a93-fd649a8fa65c
parent 42d09db8
No related branches found
No related tags found
No related merge requests found
......@@ -319,6 +319,7 @@ Bool_t CbmMcbm2018UnpackerAlgoMuch::ProcessTs( const fles::Timeslice& ts )
CbmMuchBeamTimeDigi * digi = CreateMuchDigi(&(*itHitIn));
if (digi == NULL) continue;
fDigiVect.push_back( *digi );
delete digi;
} // for( auto itHitIn = fvmHitsInMs.begin(); itHitIn < fvmHitsInMs.end(); ++itHitIn )
/// Clear the buffer of hits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment