From f321e63f57949d00160c5a06b388b5a578d27c40 Mon Sep 17 00:00:00 2001 From: Mark Grimes Date: Sun, 7 Dec 2014 01:35:23 +0100 Subject: [PATCH] Set pointers to null in case the destructor tries to delete them --- .../HcalRecAlgos/src/PulseShapeFitOOTPileupCorrection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoLocalCalo/HcalRecAlgos/src/PulseShapeFitOOTPileupCorrection.cc b/RecoLocalCalo/HcalRecAlgos/src/PulseShapeFitOOTPileupCorrection.cc index e25365cca815b..b7a6f2ba64d7f 100644 --- a/RecoLocalCalo/HcalRecAlgos/src/PulseShapeFitOOTPileupCorrection.cc +++ b/RecoLocalCalo/HcalRecAlgos/src/PulseShapeFitOOTPileupCorrection.cc @@ -170,7 +170,7 @@ namespace FitterFuncs{ } -PulseShapeFitOOTPileupCorrection::PulseShapeFitOOTPileupCorrection() : cntsetPulseShape(0), chargeThreshold_(6.) { +PulseShapeFitOOTPileupCorrection::PulseShapeFitOOTPileupCorrection() : cntsetPulseShape(0), chargeThreshold_(6.), spfunctor_(nullptr), dpfunctor_(nullptr), tpfunctor_(nullptr) { hybridfitter = new PSFitter::HybridMinimizer(PSFitter::HybridMinimizer::kMigrad); iniTimesArr = { {-100,-75,-50,-25,0,25,50,75,100,125} }; }