Skip to content

Commit

Permalink
Re #8483. Use Poco::AutoPtr to avoid leaking memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Mar 13, 2014
1 parent 8b8dc60 commit 4b4d018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/src/ImplicitFunctionFactory.cpp
Expand Up @@ -42,7 +42,7 @@ namespace Mantid
{
using namespace Poco::XML;
DOMParser pParser;
Document* pDoc = pParser.parseString(processXML);
Poco::AutoPtr<Document> pDoc = pParser.parseString(processXML);
Element* pInstructionsXML = pDoc->documentElement();

ImplicitFunctionParser* funcParser = Mantid::API::ImplicitFunctionParserFactory::Instance().createImplicitFunctionParserFromXML(processXML);
Expand Down

0 comments on commit 4b4d018

Please sign in to comment.