1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

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

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