mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Try to prevent another memory leak - this time in miniupnpc
This commit is contained in:
parent
bb05af0d92
commit
1c6a6c80f4
1 changed files with 1 additions and 0 deletions
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…
Add table
Reference in a new issue