mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Make sure we properly free some UPnP-related variables.
This was SVN commit r14348.
This commit is contained in:
parent
551eb3919d
commit
5876ec38d1
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue