Skip to content
  • Peng Fan's avatar
    common: cli: avoid memory leak · 09a78862
    Peng Fan authored
    
    
    Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always
    check to free 'buff' to avoid memory leak.
    
    Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
    Cc: Tom Rini <trini@konsulko.com>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Simon Glass <sjg@chromium.org>
    09a78862