summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-06 13:22:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-06 13:22:14 +0300
commit4f2ec4df6812edee46bb74815b5edaaa6f34d59b (patch)
tree566b223ec466a7515d00491ffeb0e2d2b8b987cb
parenteb6a0f8af34d0f8de808d474381c232716a7534d (diff)
downloadmv-4f2ec4df6812edee46bb74815b5edaaa6f34d59b.tar.gz
mv-4f2ec4df6812edee46bb74815b5edaaa6f34d59b.tar.bz2
mv-4f2ec4df6812edee46bb74815b5edaaa6f34d59b.tar.xz
mv-4f2ec4df6812edee46bb74815b5edaaa6f34d59b.zip
fix leak in handling full move path from evol server.
-rw-r--r--src/net/tmwa/beinghandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 6bbdac2e9..1a099b3d8 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -697,6 +697,7 @@ void BeingHandler::processBeingMove3(Net::MessageIn &msg) const
}
}
+ delete [] moves;
dstBeing->setPath(path);
}