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

@ -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;
} }