It's better to wrap the pointer in sptr right away, so there's never a possibility of leak after the code is refactored etc - ```sptr< MdictParser > mddParser = new MdictParser( mddIter->c_str() );```