mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
- Make sure allocation succeeded (CID 467)
svn path=/trunk/; revision=37552
This commit is contained in:
parent
af6290f733
commit
cd1bf24e93
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ EngDeviceIoControl(HANDLE hDevice,
|
||||||
nInBufferSize,
|
nInBufferSize,
|
||||||
lpOutBuffer,
|
lpOutBuffer,
|
||||||
nOutBufferSize, FALSE, &Event, &Iosb);
|
nOutBufferSize, FALSE, &Event, &Iosb);
|
||||||
|
if (!Irp) return ERROR_NOT_ENOUGH_MEMORY;
|
||||||
|
|
||||||
Status = IoCallDriver(DeviceObject, Irp);
|
Status = IoCallDriver(DeviceObject, Irp);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue