Memleak in Map

This commit is contained in:
Michael Cook (mackal) 2015-01-03 01:26:46 -05:00
parent a8d28cbed5
commit 6a2260f106

View File

@ -58,6 +58,7 @@ Map::Map() {
Map::~Map() {
if(imp) {
imp->rm->release();
safe_delete(imp);
}
}
@ -887,4 +888,4 @@ void Map::TranslateVertex(Vertex &v, float tx, float ty, float tz) {
v.x = v.x + tx;
v.y = v.y + ty;
v.z = v.z + tz;
}
}