mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 23:35:27 +00:00
Fix socket leak in getUPnPDevicesByAddress()
This commit is contained in:
parent
1b3fef5408
commit
852ee8df8d
@ -132,6 +132,8 @@ struct UPNPDev* getUPnPDevicesByAddress(IN_ADDR address)
|
||||
deviceList = newDev;
|
||||
}
|
||||
|
||||
closesocket(s);
|
||||
|
||||
return deviceList;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user