[rtems commit] Filesystem: Remove superfluous free()

Sebastian Huber sebh at rtems.org
Fri Aug 23 08:00:49 UTC 2013


Module:    rtems
Branch:    master
Commit:    f4804efa50671ca5d9f141f99ca724ae04681269
Changeset: http://git.rtems.org/rtems/commit/?id=f4804efa50671ca5d9f141f99ca724ae04681269

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Aug 23 09:52:07 2013 +0200

Filesystem: Remove superfluous free()

---

 cpukit/libcsupport/src/mount.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c
index 92033e1..39a63de 100644
--- a/cpukit/libcsupport/src/mount.c
+++ b/cpukit/libcsupport/src/mount.c
@@ -92,8 +92,6 @@ static rtems_filesystem_mount_table_entry_t *alloc_mount_table_entry(
       1,
       sizeof(*mt_fs_root)
     );
-  } else {
-    free( mt_entry );
   }
 
   *target_length_ptr = target_size - 1;




More information about the vc mailing list