Network - Fixed memory leak in NetworkServer.

This commit is contained in:
Pontus Fransson 2014-02-20 09:07:02 +01:00
parent 0c0fde51b0
commit 3527d3acb0
1 changed files with 7 additions and 1 deletions

View File

@ -83,7 +83,13 @@ public:
, broadcastTime(1.0f, 0.0f)
{ }
~PrivateData()
{ }
{
if(listener)
{
delete listener;
listener = NULL;
}
}
bool DoWork();