Try to prevent another memory leak - this time in miniupnpc

This commit is contained in:
twinaphex 2018-04-15 18:42:25 +02:00
parent bb05af0d92
commit 1c6a6c80f4

View File

@ -606,6 +606,7 @@ ssdpDiscoverDevices(const char * const deviceTypes[],
{
if(error)
*error = MINISSDPC_SOCKET_ERROR;
closesocket(sudp);
return NULL;
}