summaryrefslogtreecommitdiffstats
path: root/common/fb_nand.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2015-12-22 17:14:13 +0800
committerTom Rini <trini@konsulko.com>2016-01-04 12:25:35 -0500
commit09a788624dbe32aeeb0d74c97c0965303eb96d8c (patch)
tree4cdba3e789223ca57cfa2e791fe247982d1a146d /common/fb_nand.c
parenta40b2dff7bec6c1656a59ce31c16207b8954eb68 (diff)
downloadblackbird-obmc-uboot-09a788624dbe32aeeb0d74c97c0965303eb96d8c.tar.gz
blackbird-obmc-uboot-09a788624dbe32aeeb0d74c97c0965303eb96d8c.zip
common: cli: avoid memory leak
Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always check to free 'buff' to avoid memory leak. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/fb_nand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud