2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Fix a memory leak

This commit is contained in:
2011-04-13 09:48:34 -07:00
parent 51bf621898
commit 418d29fc34

View File

@ -113,6 +113,7 @@ void ReportNetErrorTrans::Post () {
void ReportNetError (ENetProtocol protocol, ENetError error) { void ReportNetError (ENetProtocol protocol, ENetError error) {
ReportNetErrorTrans * trans = NEW(ReportNetErrorTrans)(protocol, error); ReportNetErrorTrans * trans = NEW(ReportNetErrorTrans)(protocol, error);
NetTransSend(trans); NetTransSend(trans);
trans->DecRef();
} }
} using namespace Ngl; } using namespace Ngl;