Fixed memory leak in p3FeedReaderThread::processXPath.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-14 23:39:05 +00:00
parent 6e0ede2817
commit 504bbc00f1

View File

@ -1384,7 +1384,8 @@ RsFeedReaderErrorState p3FeedReaderThread::processXPath(const std::list<std::str
std::cerr << "p3FeedReaderThread::processXPath - unable to process xpath expression" << std::endl;
#endif
errorString = *xpathIt;
return RS_FEED_ERRORSTATE_PROCESS_XPATH_WRONG_EXPRESSION;
result = RS_FEED_ERRORSTATE_PROCESS_XPATH_WRONG_EXPRESSION;
break;
}
}