[TCPIP_DRVTEST]

- Do not try to HeapFree a stack buffer.

svn path=/trunk/; revision=65549
This commit is contained in:
Jérôme Gardou 2014-12-02 18:12:26 +00:00
parent e07183a73b
commit ec74758add

View file

@ -102,6 +102,7 @@ START_TEST(InterfaceInfo)
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);
}