Fixed memory leak.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-10-06 22:23:53 +00:00
parent 9abcc41d52
commit bba09142e8

View File

@ -55,6 +55,7 @@ void NewsManager::init()
const XMLNode *xml = new XMLNode(xml_file);
checkRedirect(xml);
updateNews(xml, xml_file);
delete xml;
} // init
// ---------------------------------------------------------------------------