summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 15:15:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 15:15:39 +0000
commitaaaffd4cba80d906684bbd03c55edf225092ba15 (patch)
tree80dfd7fc528ee28819bec042e3e724186c20f1c8 /cpukit/libmisc
parent2010-01-20 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-aaaffd4cba80d906684bbd03c55edf225092ba15.tar.bz2
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 30 * libmisc/shell/hexdump-parse.c: Add free(pr) before returning.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r--cpukit/libmisc/shell/hexdump-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/hexdump-parse.c b/cpukit/libmisc/shell/hexdump-parse.c
index 945314cb0f..a39c9f5787 100644
--- a/cpukit/libmisc/shell/hexdump-parse.c
+++ b/cpukit/libmisc/shell/hexdump-parse.c
@@ -450,6 +450,7 @@ isint2: switch(fu->bcnt) {
(void)printf("\n");
}
#endif
+ free(pr);
}
void