Skip to content
Snippets Groups Projects
Commit 0d26bb36 authored by sapier's avatar sapier Committed by kwolekr
Browse files

fix memory leak in loadMedia

parent 10502b59
No related branches found
No related tags found
No related merge requests found
...@@ -1006,7 +1006,7 @@ bool Client::loadMedia(const std::string &data, const std::string &filename) ...@@ -1006,7 +1006,7 @@ bool Client::loadMedia(const std::string &data, const std::string &filename)
mesh = smgr->getMesh(rfile); mesh = smgr->getMesh(rfile);
smgr->getMeshCache()->addMesh(filename.c_str(), mesh); smgr->getMeshCache()->addMesh(filename.c_str(), mesh);
rfile->drop();
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment