mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Need to close on premature abort too or resources are leaked.
This commit is contained in:
parent
3d66492828
commit
1e213b4d4c
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ public:
|
|||
#ifdef ZT_PORTMAPPER_TRACE
|
||||
fprintf(stderr,"PortMapper: NAT-PMP: request for external address failed, aborting..."ZT_EOL_S);
|
||||
#endif
|
||||
closenatpmp(&natpmp);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue