Swap raw pointer for boost::shared_ptr in BinaryOperation
The BinaryOperationTable was not deleted at the end of the operation causing a memory leak. The shared_ptr will take care of this properly. Refs #7994
Showing
- Code/Mantid/Framework/Algorithms/inc/MantidAlgorithms/BinaryOperation.h 4 additions, 3 deletions...amework/Algorithms/inc/MantidAlgorithms/BinaryOperation.h
- Code/Mantid/Framework/Algorithms/src/BinaryOperation.cpp 8 additions, 4 deletionsCode/Mantid/Framework/Algorithms/src/BinaryOperation.cpp
- Code/Mantid/Framework/Algorithms/test/BinaryOperationTest.h 7 additions, 7 deletionsCode/Mantid/Framework/Algorithms/test/BinaryOperationTest.h
Loading
Please register or sign in to comment