mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
[FREELDR]
Return NULL, not FALSE on failure in Ext2ReadBlockPointerList svn path=/trunk/; revision=58219
This commit is contained in:
parent
5994749f53
commit
1cb3985a69
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue