Changeset c4c8efd0 in rtems for cpukit/libblock
- Timestamp:
- 01/19/10 02:23:03 (14 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- 64734fc
- Parents:
- d22cd4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/src/ramdisk-config.c
rd22cd4a rc4c8efd0 35 35 return rc; 36 36 37 /* 38 * Coverity Id 27 notes that this calloc() is a resource leak. 39 * 40 * This is allocating memory for a RAM disk which will persist for 41 * the life of the system. RTEMS has no "de-initialize" driver call 42 * so there is no corresponding free(r). Coverity is correct that 43 * it is never freed but this is not a problem. 44 */ 37 45 r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk)); 38 46 r->trace = false;
Note: See TracChangeset
for help on using the changeset viewer.