mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
channels/rdpdr: fix IRP creation (forgot to zero memory)
This commit is contained in:
parent
e2cd73ba54
commit
8f10d3aa3b
@ -80,6 +80,7 @@ IRP* irp_new(DEVMAN* devman, STREAM* data_in)
|
|||||||
}
|
}
|
||||||
|
|
||||||
irp = (IRP*) _aligned_malloc(sizeof(IRP), MEMORY_ALLOCATION_ALIGNMENT);
|
irp = (IRP*) _aligned_malloc(sizeof(IRP), MEMORY_ALLOCATION_ALIGNMENT);
|
||||||
|
ZeroMemory(irp, sizeof(IRP));
|
||||||
|
|
||||||
irp->device = device;
|
irp->device = device;
|
||||||
irp->devman = devman;
|
irp->devman = devman;
|
||||||
|
Loading…
Reference in New Issue
Block a user