diff --git a/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalTest.h b/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalTest.h index 98385ae84954cf8fe202a2399e619ecb10ef8117..05642406e4e700a83cd8fca128fe9e3690a96369 100644 --- a/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalTest.h +++ b/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalTest.h @@ -96,7 +96,8 @@ public: TS_ASSERT_EQUALS(a.algorithmName(), clone->algorithmName()); TS_ASSERT_EQUALS(a.algorithmVersion(), clone->algorithmVersion()); TS_ASSERT_DIFFERS(clone, &a); - } + delete clone; +} void test_toJSON() { const double radius = 2;