Commit c801d2bc authored by Philip Trettner's avatar Philip Trettner
Browse files

Fixed a potential memory leak

parent 40775ae3
......@@ -162,6 +162,7 @@ void NetMessage::verifyTypeInfo(const std::string &type, const std::string &fiel
std::cerr << "Trying to read a std::string with size " << size << "which is quite too long" << std::endl;
delete[] stype;
mGood = false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment