]> git.baikalelectronics.ru Git - uboot.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)
commit2533d2cfd30d1de08a55ac7f5dc50f6062a39912
treeb088ee2d5955e72327db9660fdfcce1898aafc7d
parent76729a656e71be867dc916e0cb64f2e78864483b
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