commit | 0dbd6e3698b58f60cddb64a0d58a4e23fb5f55d3 | [log] [tgz] |
---|---|---|
author | Bin Meng <bin.meng@windriver.com> | Sat Apr 18 01:59:11 2020 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 24 10:51:56 2020 -0400 |
tree | 6b6c55c68a7d2c8699d119a78a5fce596a13affd | |
parent | 3fc85a782a3d46fcb32bfb93829d2424d696c4d3 [diff] |
mkimage: fit: Free buf directly in fit_extract_data() If given ptr to free() is NULL, no operation is performed. Hence we can just free buf directly in fit_extract_data(). Signed-off-by: Bin Meng <bin.meng@windriver.com>