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>
Loading
Please register or sign in to comment