Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 04efacc in mainline


Ignore:
Timestamp:
2017-10-20T00:33:54Z (3 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
master
Children:
03936831, 81685dd9
Parents:
0464967
Message:

Fix possible memory leak in mkmfs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkmfs/mkmfs.c

    r0464967 r04efacc  
    660660                if ((rc = write_block(start_block + i,
    661661                    1, (ibmap_buf8 + i * sb->block_size))) != EOK)
    662                         return rc;
     662                        goto exit;
    663663        }
    664664
     
    668668                if ((rc = write_block(start_block + i,
    669669                    1, (zbmap_buf8 + i * sb->block_size))) != EOK)
    670                         return rc;
     670                        goto exit;
    671671        }
    672672
Note: See TracChangeset for help on using the changeset viewer.