Free interface list when aborting in installer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
71afd84033
commit
fb68232f16
@ -432,7 +432,10 @@ ForceCloseWintunAdapterHandle(_In_ HDEVINFO DeviceInfoSet, _In_ SP_DEVINFO_DATA
|
||||
if (Ret == CR_SUCCESS)
|
||||
break;
|
||||
if (Ret != CR_BUFFER_SMALL)
|
||||
{
|
||||
free(InterfaceList);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
HANDLE NdisHandle = CreateFile(
|
||||
|
Loading…
Reference in New Issue
Block a user