Changeset bd830128 in mainline


Ignore:
Timestamp:
2011-10-10T21:35:58Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32cd37f, 6d52126b
Parents:
80099c19
git-author:
Maurizio Lombardi <m.lombardi85@…> (2011-10-10 21:35:58)
git-committer:
Martin Sucha <sucha14@…> (2011-10-10 21:35:58)
Message:

Fix memory leak in libext2 (thx Maurizio Lombardi)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext2/libext2_filesystem.c

    r80099c19 rbd830128  
    259259            bg_ref->block_group);
    260260       
     261        rc = ext2_filesystem_put_block_group_ref(bg_ref);
     262        if (rc != EOK) {
     263                free(newref);
     264                return rc;
     265        }
     266
    261267        inode_size = ext2_superblock_get_inode_size(fs->superblock);
    262268        block_size = ext2_superblock_get_block_size(fs->superblock);
Note: See TracChangeset for help on using the changeset viewer.