Signed-off-by: Sven Baars sbaars@codeweavers.com --- dlls/setupapi/devinst.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index a21959a262..7be1a34669 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -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)