mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +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,
|
||||
lpOutBuffer,
|
||||
nOutBufferSize, FALSE, &Event, &Iosb);
|
||||
if (!Irp) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
|
||||
Status = IoCallDriver(DeviceObject, Irp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue