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:
parent
9abcc41d52
commit
bba09142e8
@ -55,6 +55,7 @@ void NewsManager::init()
|
||||
const XMLNode *xml = new XMLNode(xml_file);
|
||||
checkRedirect(xml);
|
||||
updateNews(xml, xml_file);
|
||||
delete xml;
|
||||
} // init
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user