hidclass.sys: Avoid freeing pool memory with HeapFree().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-08-21 23:16:50 -05:00 committed by Alexandre Julliard
parent 36bbea9e20
commit 6a6081fc93
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ NTSTATUS WINAPI HID_PNP_Dispatch(DEVICE_OBJECT *device, IRP *irp)
break;
case BusQueryDeviceSerialNumber:
FIXME("BusQueryDeviceSerialNumber not implemented\n");
HeapFree(GetProcessHeap(), 0, id);
ExFreePool(id);
break;
}
break;