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:
hikerstk
2010-12-09 05:49:30 +00:00
parent 8e82e01ddf
commit af9f6d651e

View File

@@ -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())