]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: superfluous check before free()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 22:41:59 +0000 (00:41 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 26 Oct 2021 19:26:45 +0000 (15:26 -0400)
commit28ab12ad145d92de13baf679c8e3733be99ee95e
treeb088ee2d5955e72327db9660fdfcce1898aafc7d
parent73d18e352d97b5e9a3de3780d5c9117d44993c41
env: superfluous check before free()

Free() checks if its argument in NULL. There is no need for the caller to
do the same.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
env/flash.c