diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-04 14:41:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-04 14:41:32 +0000 |
commit | c9a4a9a599fb3584e956acc302200abcd88d1fdf (patch) | |
tree | c6e1414c6a78ec627d7fb8705f094451ccfe4bc6 /cpukit/libblock | |
parent | 2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c9a4a9a599fb3584e956acc302200abcd88d1fdf.tar.bz2 |
2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/ramdisk-config.c: Revert accidental commit.
Diffstat (limited to 'cpukit/libblock')
-rw-r--r-- | cpukit/libblock/src/ramdisk-config.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/libblock/src/ramdisk-config.c b/cpukit/libblock/src/ramdisk-config.c index 40d205f833..8ac513cdef 100644 --- a/cpukit/libblock/src/ramdisk-config.c +++ b/cpukit/libblock/src/ramdisk-config.c @@ -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; } |