mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 10:12:26 +00:00
Memleak in Map
This commit is contained in:
parent
a8d28cbed5
commit
6a2260f106
@ -58,6 +58,7 @@ Map::Map() {
|
|||||||
Map::~Map() {
|
Map::~Map() {
|
||||||
if(imp) {
|
if(imp) {
|
||||||
imp->rm->release();
|
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.x = v.x + tx;
|
||||||
v.y = v.y + ty;
|
v.y = v.y + ty;
|
||||||
v.z = v.z + tz;
|
v.z = v.z + tz;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user