Skip to content

Commit 26a5101

Browse files
authored
Merge pull request #46226 from iarspider/iarspider-patch-20241003-1
[LLVM Analysis] Fix potential memory leak in ApvAnalysisFactory::constructAuxiliaryApvClasses (pt 2)
2 parents 26130a1 + 8584e8f commit 26a5101

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)