mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[common] ivshmem: fix memory leak
This commit is contained in:
parent
905c1d7f58
commit
f3ebde7d9f
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ bool ivshmemInit(struct IVSHMEM * dev)
|
|||
|
||||
if (GetLastError() != ERROR_NO_MORE_ITEMS)
|
||||
{
|
||||
vector_destroy(&devices);
|
||||
DEBUG_WINERROR("SetupDiEnumDeviceInfo failed", GetLastError());
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue