From 88c4e0578b2e1ebe6d018ac68f2ba58d2873691b Mon Sep 17 00:00:00 2001 From: Owen Arnold Date: Fri, 30 Jan 2015 09:02:24 +0000 Subject: [PATCH] refs #10998. Delete pointer. --- .../Framework/DataObjects/test/PeakShapeSphericalFactoryTest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalFactoryTest.h b/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalFactoryTest.h index 4123f383c84a..ddc245f2a0e0 100644 --- a/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalFactoryTest.h +++ b/Code/Mantid/Framework/DataObjects/test/PeakShapeSphericalFactoryTest.h @@ -91,6 +91,7 @@ class PeakShapeSphericalFactoryTest : public CxxTest::TestSuite { TS_ASSERT(sphericalShapeProduct); TS_ASSERT_EQUALS(sourceShape, *sphericalShapeProduct); + delete productShape; } };