Commit c801d2bc authored by Philip Trettner's avatar Philip Trettner

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;
assert(0);
}
delete[] stype;
mGood = false;
return;
}
......
Markdown is supported
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