mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Make sure allocation succeeded (CID 467)
svn path=/trunk/; revision=37552
This commit is contained in:
@@ -62,6 +62,7 @@ EngDeviceIoControl(HANDLE hDevice,
|
||||
nInBufferSize,
|
||||
lpOutBuffer,
|
||||
nOutBufferSize, FALSE, &Event, &Iosb);
|
||||
if (!Irp) return ERROR_NOT_ENOUGH_MEMORY;
|
||||
|
||||
Status = IoCallDriver(DeviceObject, Irp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user