channels/rdpdr: fix IRP creation (forgot to zero memory)

This commit is contained in:
Marc-André Moreau 2012-10-06 16:55:58 -04:00
parent e2cd73ba54
commit 8f10d3aa3b

View File

@ -80,6 +80,7 @@ IRP* irp_new(DEVMAN* devman, STREAM* data_in)
}
irp = (IRP*) _aligned_malloc(sizeof(IRP), MEMORY_ALLOCATION_ALIGNMENT);
ZeroMemory(irp, sizeof(IRP));
irp->device = device;
irp->devman = devman;