summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libblock/src/ramdisk-config.c7
2 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 511e1d7e26..9f0a24c26b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
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:
CONFIGURE_DISABLE_CLASSIC_NOTEPADS is typo of
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS. Fix it.
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;
}