Fixed memory leak

This was SVN commit r6934.
This commit is contained in:
Ykkrosh
2009-06-27 10:53:19 +00:00
parent 78e511ebde
commit de78e22094
+1 -1
View File
@@ -102,7 +102,7 @@ void FColladaDocument::LoadFromText(const char *text)
if (newText != text)
{
xmlFreeFunc((void*)newText);
xmlFree((void*)newText);
}
REQUIRE_SUCCESS(status);