]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkimage: Fix missing free() in show_valid_options()
authorSimon Glass <sjg@chromium.org>
Thu, 27 Oct 2016 23:54:03 +0000 (17:54 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2016 14:13:18 +0000 (10:13 -0400)
commit0cd82e255fb0960fd566459b1dbcb54b6b61504d
tree68993e2f78b68a4b115a8bc2c1ff8e7d734026d4
parent0a6036da63ebc618204cd5c3d5e8cac833845751
mkimage: Fix missing free() in show_valid_options()

The allocated memory should be freed. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 150963)
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/mkimage.c