mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 08:03:37 +00:00
Make sure we properly free some UPnP-related variables.
This was SVN commit r14348.
This commit is contained in:
@@ -244,6 +244,10 @@ bool CNetServerWorker::SetupConnection()
|
||||
if(intClient[0])
|
||||
LOGMESSAGE(L"Net server: External %s:%s %s is redirected to internal %s:%s (duration=%s)\n",
|
||||
externalIPAddress, externalPort, protocall, intClient, intPort, duration);
|
||||
|
||||
// Make sure everything is properly freed.
|
||||
FreeUPNPUrls(&urls);
|
||||
freeUPNPDevlist(devlist);
|
||||
// End UPnP setup.
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user