mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +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)
|
||||
*error = MINISSDPC_SOCKET_ERROR;
|
||||
closesocket(sudp);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user