Skip to content

Commit 8584e8f

Browse files
committed
[LLVM Analysis] Fix potential memory leak in ApvAnalysisFactory::constructAuxiliaryApvClasses (pt 2)
1 parent 3019696 commit 8584e8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CalibTracker/SiStripAPVAnalysis/src/ApvAnalysisFactory.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ void ApvAnalysisFactory::constructAuxiliaryApvClasses(ApvAnalysis* theAPV, uint3
119119
} else {
120120
cout << "Sorry Only Median is available for now, Mean and FastLinear are coming soon" << endl;
121121
delete theCommonMode;
122+
delete theMask;
123+
delete thePedestal;
124+
delete theNoise;
122125
return;
123126
}
124127
} else {

0 commit comments

Comments
 (0)