mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[IPCONFIG] Fix memory leak for disconnected adapters in ShowInfo (#9324)
Signed-off-by: Deep Varkute <[email protected]>
This commit is contained in:
@@ -703,6 +703,8 @@ ShowInfo(
|
||||
|
||||
if (!bConnected)
|
||||
{
|
||||
HeapFree(ProcessHeap, 0, pPerAdapterInfo);
|
||||
pPerAdapterInfo = NULL;
|
||||
pAdapter = pAdapter->Next;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user