[Orxonox-commit 2616] r7321 - code/trunk/src/libraries/network/packet
adrfried at orxonox.net
adrfried at orxonox.net
Thu Sep 2 00:24:50 CEST 2010
Author: adrfried
Date: 2010-09-02 00:24:49 +0200 (Thu, 02 Sep 2010)
New Revision: 7321
Modified:
code/trunk/src/libraries/network/packet/ServerInformation.cc
Log:
free some memory
Modified: code/trunk/src/libraries/network/packet/ServerInformation.cc
===================================================================
--- code/trunk/src/libraries/network/packet/ServerInformation.cc 2010-09-01 22:02:02 UTC (rev 7320)
+++ code/trunk/src/libraries/network/packet/ServerInformation.cc 2010-09-01 22:24:49 UTC (rev 7321)
@@ -59,6 +59,8 @@
assert(strcmp(ack, (const char*)LAN_DISCOVERY_ACK)==0);
// Save Server Name
loadAndIncrease(this->serverName_, temp);
+
+ delete[] serverIP;
}
ServerInformation::~ServerInformation()
More information about the Orxonox-commit
mailing list