Changeset 88ab6e9 in mainline
- Timestamp:
- 2016-04-02T06:48:20Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2f2dd126
- Parents:
- 4a0bc99
- git-author:
- Manuele Conti <conti.manuele@…> (2016-04-02 06:48:20)
- git-committer:
- Jakub Jermar <jakub@…> (2016-04-02 06:48:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkmfs/mkmfs.c
r4a0bc99 r88ab6e9 640 640 zbmap_buf = malloc(zbmap_nblocks * sb->block_size); 641 641 642 if (!ibmap_buf || !zbmap_buf) 643 return ENOMEM; 642 if (!ibmap_buf || !zbmap_buf) { 643 rc = ENOMEM; 644 goto exit; 645 } 644 646 645 647 memset(ibmap_buf, 0xFF, ibmap_nblocks * sb->block_size); … … 671 673 } 672 674 675 exit: 673 676 free(ibmap_buf); 674 677 free(zbmap_buf);
Note:
See TracChangeset
for help on using the changeset viewer.