Changeset 055be8a in mainline
- Timestamp:
- 2011-12-08T20:13:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a885ab8
- Parents:
- b741888
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_directory.c
rb741888 r055be8a 285 285 for (i = 0; i < count; i++) { 286 286 rc = exfat_directory_get(di, &de); 287 if (rc != EOK) 288 return rc; 287 if (rc != EOK) { 288 free(array); 289 return rc; 290 } 289 291 array[i] = *de; 290 292 rc = exfat_directory_next(di); … … 312 314 for (i = 0; i < count; i++) { 313 315 rc = exfat_directory_get(di, &de); 314 if (rc != EOK) 315 return rc; 316 if (rc != EOK) { 317 free(array); 318 return rc; 319 } 316 320 *de = array[i]; 317 321 di->b->dirty = true;
Note:
See TracChangeset
for help on using the changeset viewer.