diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-08 04:55:53 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-08 04:55:53 +0000 |
commit | 199ccded5dbc4dabb7e4fd5a2772eed6e571d444 (patch) | |
tree | 12c832f55d56161ad0ed3ae4e8fab785596883db /cpukit/libmisc/shell/main_rm.c | |
parent | 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-199ccded5dbc4dabb7e4fd5a2772eed6e571d444.tar.bz2 |
2009-05-08 Chris Johns <chrisj@rtems.org>
* cpukit/libblock/src/bdpart.c, libmisc/shell/main_msdosfmt.c,
libmisc/shell/main_rm.c, libnetworking/libc/gethostnamadr.c,
score/include/rtems/score/bitfield.h,
score/inline/rtems/score/priority.inl: Remove warnings.
Diffstat (limited to 'cpukit/libmisc/shell/main_rm.c')
-rw-r--r-- | cpukit/libmisc/shell/main_rm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_rm.c b/cpukit/libmisc/shell/main_rm.c index b68fc5744c..26b6b046f6 100644 --- a/cpukit/libmisc/shell/main_rm.c +++ b/cpukit/libmisc/shell/main_rm.c @@ -579,7 +579,9 @@ check_rm(rtems_shell_rm_globals* globals, char *path, char *name, struct stat *s group_from_gid(sp->st_gid, 0), *flagsp ? flagsp : "", *flagsp ? " " : "", path); +#if RTEMS_REMOVED free(flagsp); +#endif } (void)fflush(stderr); |