- Make sure allocation succeeded (CID 467)

svn path=/trunk/; revision=37552
This commit is contained in:
Stefan Ginsberg 2008-11-22 11:51:01 +00:00
parent af6290f733
commit cd1bf24e93

View file

@ -62,6 +62,7 @@ EngDeviceIoControl(HANDLE hDevice,
nInBufferSize,
lpOutBuffer,
nOutBufferSize, FALSE, &Event, &Iosb);
if (!Irp) return ERROR_NOT_ENOUGH_MEMORY;
Status = IoCallDriver(DeviceObject, Irp);