Commit 75e87834 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

setupapi: Fix a memory leak (Valgrind).

parent 116eb500
......@@ -736,6 +736,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment