mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[FREELDR]
Return NULL, not FALSE on failure in Ext2ReadBlockPointerList svn path=/trunk/; revision=58219
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user