Skip to content

Commit

Permalink
Merge pull request #1 from mark-grimes/fixMemoryErrorIn6811
Browse files Browse the repository at this point in the history
Set pointers to null in case the destructor tries to delete them
  • Loading branch information
lihux25 committed Dec 7, 2014
2 parents ecd2e3b + f321e63 commit 8833419
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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} };
}

0 comments on commit 8833419

Please sign in to comment.