mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[TCPIP_DRVTEST]
- Do not try to HeapFree a stack buffer. svn path=/trunk/; revision=65549
This commit is contained in:
parent
e07183a73b
commit
ec74758add
1 changed files with 2 additions and 1 deletions
|
@ -102,6 +102,7 @@ START_TEST(InterfaceInfo)
|
||||||
trace("\tIndex %lu, name %S\n", pInterfaceInfo->Adapter[i].Index, pInterfaceInfo->Adapter[i].Name);
|
trace("\tIndex %lu, name %S\n", pInterfaceInfo->Adapter[i].Index, pInterfaceInfo->Adapter[i].Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, pInterfaceInfo);
|
if (pInterfaceInfo != &InterfaceInfo)
|
||||||
|
HeapFree(GetProcessHeap(), 0, pInterfaceInfo);
|
||||||
CloseHandle(FileHandle);
|
CloseHandle(FileHandle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue