Commit 39e76d36 authored by hybrid's avatar hybrid

Fix mem leak found by gbox.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3921 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f9b538f9
......@@ -2169,6 +2169,7 @@ bool CSceneManager::loadScene(const io::path& filename, ISceneUserDataSerializer
if (!ret)
os::Printer::log("Could not load scene file, perhaps the format is unsupported: ", filename.c_str(), ELL_ERROR);
file->drop();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment