- Check that memory allocation succeeded

svn path=/trunk/; revision=36066
This commit is contained in:
Cameron Gutman 2008-09-08 18:06:24 +00:00
parent d206ae228c
commit 35827a3001

View file

@ -73,6 +73,8 @@ CdfsCreateFCB(PCWSTR FileName)
PFCB Fcb;
Fcb = ExAllocatePoolWithTag(NonPagedPool, sizeof(FCB), TAG_FCB);
if(!Fcb) return NULL;
RtlZeroMemory(Fcb, sizeof(FCB));
if (FileName)