Changeset b61ad65 in rtems for cpukit/libblock
- Timestamp:
- 01/19/10 23:47:41 (14 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- c917d31
- Parents:
- e00381a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/src/ide_part_table.c
re00381a rb61ad65 224 224 int i; 225 225 dev_t dev; 226 rtems_sector_data_t *sector ;226 rtems_sector_data_t *sector = NULL; 227 227 uint32_t here; 228 228 uint8_t *data; … … 245 245 if (rc != RTEMS_SUCCESSFUL) 246 246 { 247 if (sector) 248 free(sector); 247 249 return rc; 248 250 } … … 250 252 if (!msdos_signature_check(sector)) 251 253 { 254 free(sector); 252 255 return RTEMS_INTERNAL_ERROR; 253 256 }
Note: See TracChangeset
for help on using the changeset viewer.