Changeset f5c03a8 in mainline for uspace/lib/ext4/libext4_filesystem.c


Ignore:
Timestamp:
2015-04-04T12:37:14Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
43523b1
Parents:
356e6882
Message:

libext4: remove block leak in the error code path of ext4_filesystem_free_inode()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_filesystem.c

    r356e6882 rf5c03a8  
    845845                               
    846846                                rc = block_put(subblock);
    847                                 if (rc != EOK)
     847                                if (rc != EOK) {
     848                                        block_put(block);
    848849                                        return rc;
     850                                }
    849851                        }
    850852                       
Note: See TracChangeset for help on using the changeset viewer.