Skip to content

Commit

Permalink
Make sure pointer is initialized before deleting it. Refs #7347
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici committed Jun 24, 2013
1 parent 55f20e8 commit d61a82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/FindPeaksMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace MDAlgorithms
//----------------------------------------------------------------------------------------------
/** Constructor
*/
FindPeaksMD::FindPeaksMD() : m_addDetectors(true), m_densityScaleFactor(1e-6)
FindPeaksMD::FindPeaksMD() : m_addDetectors(true), m_densityScaleFactor(1e-6),prog(NULL)
{
}

Expand Down

0 comments on commit d61a82c

Please sign in to comment.