Skip to content
Snippets Groups Projects
Commit e393f2d3 authored by Sven Baars's avatar Sven Baars Committed by Michael Stefaniuc
Browse files

setupapi: Fix a memory leak (Valgrind).


Signed-off-by: default avatarSven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
(cherry picked from commit 75e87834)
Signed-off-by: default avatarMichael Stefaniuc <mstefani@winehq.org>
parent 617b3b0c
No related branches found
No related tags found
No related merge requests found
......@@ -734,6 +734,7 @@ static void delete_device(struct device *device)
RegCloseKey(device->key);
heap_free(device->instanceId);
heap_free(device->drivers);
LIST_FOR_EACH_ENTRY_SAFE(iface, next, &device->interfaces,
struct device_iface, entry)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment