mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-02 15:55:40 +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;
|
deviceList = newDev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closesocket(s);
|
||||||
|
|
||||||
return deviceList;
|
return deviceList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user