]> Git Repo - J-u-boot.git/commit - tools/fit_image.c
mkimage: fit: Free buf directly in fit_extract_data()
authorBin Meng <[email protected]>
Sat, 18 Apr 2020 08:59:11 +0000 (01:59 -0700)
committerTom Rini <[email protected]>
Fri, 24 Apr 2020 14:51:56 +0000 (10:51 -0400)
commit0dbd6e3698b58f60cddb64a0d58a4e23fb5f55d3
tree6b6c55c68a7d2c8699d119a78a5fce596a13affd
parent3fc85a782a3d46fcb32bfb93829d2424d696c4d3
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 <[email protected]>
tools/fit_image.c
This page took 0.035551 seconds and 4 git commands to generate.