mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fixed memory leak
This was SVN commit r6934.
This commit is contained in:
@@ -102,7 +102,7 @@ void FColladaDocument::LoadFromText(const char *text)
|
||||
|
||||
if (newText != text)
|
||||
{
|
||||
xmlFreeFunc((void*)newText);
|
||||
xmlFree((void*)newText);
|
||||
}
|
||||
|
||||
REQUIRE_SUCCESS(status);
|
||||
|
||||
Reference in New Issue
Block a user