setupapi: Fix a leak.
This commit is contained in:
parent
a0ac63961d
commit
0a5e09d794
|
@ -164,6 +164,7 @@ static void SETUPDI_FreeInterfaceInstances(struct InterfaceInstances *instances)
|
|||
}
|
||||
HeapFree(GetProcessHeap(), 0, ifaceInfo->referenceString);
|
||||
HeapFree(GetProcessHeap(), 0, ifaceInfo->symbolicLink);
|
||||
HeapFree(GetProcessHeap(), 0, ifaceInfo);
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, instances->instances);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue