[FREELDR]

Return NULL, not FALSE on failure in Ext2ReadBlockPointerList

svn path=/trunk/; revision=58219
This commit is contained in:
Timo Kreuzer 2013-01-26 09:34:12 +00:00
parent 5994749f53
commit 1cb3985a69

View file

@ -1049,7 +1049,7 @@ ULONG* Ext2ReadBlockPointerList(PEXT2_INODE Inode)
if (!Ext2CopyIndirectBlockPointers(BlockList, &CurrentBlockInList, BlockCount, Inode->blocks.indir_block))
{
MmHeapFree(BlockList);
return FALSE;
return NULL;
}
}
@ -1059,7 +1059,7 @@ ULONG* Ext2ReadBlockPointerList(PEXT2_INODE Inode)
if (!Ext2CopyDoubleIndirectBlockPointers(BlockList, &CurrentBlockInList, BlockCount, Inode->blocks.double_indir_block))
{
MmHeapFree(BlockList);
return FALSE;
return NULL;
}
}
@ -1069,7 +1069,7 @@ ULONG* Ext2ReadBlockPointerList(PEXT2_INODE Inode)
if (!Ext2CopyTripleIndirectBlockPointers(BlockList, &CurrentBlockInList, BlockCount, Inode->blocks.tripple_indir_block))
{
MmHeapFree(BlockList);
return FALSE;
return NULL;
}
}