aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4b14125cd..64b01a5a4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -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;
}