2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>

* libblock/src/ramdisk-config.c: Revert accidental commit.
This commit is contained in:
Joel Sherrill
2010-03-04 14:41:32 +00:00
parent 7a09a7aedf
commit c9a4a9a599
2 changed files with 5 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/ramdisk-config.c: Revert accidental commit.
2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/ramdisk-config.c, sapi/include/confdefs.h:

View File

@@ -35,7 +35,7 @@ ramdisk_initialize(
return rc;
/*
* Coverity Id 27 & 31 note that this calloc() is a resource leak.
* Coverity Id 27 notes that this calloc() is a resource leak.
*
* This is allocating memory for a RAM disk which will persist for
* the life of the system. RTEMS has no "de-initialize" driver call
@@ -82,10 +82,5 @@ ramdisk_initialize(
r->initialized = false;
}
}
/*
* We need to tell Coverity that we know we are returning without
* freeing r. This looks suspiciously like a leak. :)
*/
/* coverity[leaked_storage : FALSE] */
return RTEMS_SUCCESSFUL;
}