mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
Try to prevent another memory leak - this time in miniupnpc
This commit is contained in:
parent
bb05af0d92
commit
1c6a6c80f4
1
deps/miniupnpc/minissdpc.c
vendored
1
deps/miniupnpc/minissdpc.c
vendored
@ -606,6 +606,7 @@ ssdpDiscoverDevices(const char * const deviceTypes[],
|
|||||||
{
|
{
|
||||||
if(error)
|
if(error)
|
||||||
*error = MINISSDPC_SOCKET_ERROR;
|
*error = MINISSDPC_SOCKET_ERROR;
|
||||||
|
closesocket(sudp);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user