Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -91,6 +91,7 @@ void ScalableFont::doReadXmlFile(io::IXMLReader* xml)
|
||||
if (included != NULL)
|
||||
{
|
||||
doReadXmlFile(included);
|
||||
included->drop();
|
||||
}
|
||||
}
|
||||
else if (core::stringw(L"Texture") == xml->getNodeName())
|
||||
|
||||
Reference in New Issue
Block a user