fix memory leak in loadMedia

This commit is contained in:
sapier 2013-04-07 20:39:59 +02:00 committed by kwolekr
parent 10502b59bc
commit 0d26bb36af
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ bool Client::loadMedia(const std::string &data, const std::string &filename)
mesh = smgr->getMesh(rfile);
smgr->getMeshCache()->addMesh(filename.c_str(), mesh);
rfile->drop();
return true;
}