]> git.baikalelectronics.ru Git - uboot.git/commit
image-fit: don't check free() argument
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Apr 2022 18:08:03 +0000 (20:08 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 19 Apr 2022 18:51:11 +0000 (14:51 -0400)
commit7c2e71f8a6851a93fb2e11b4fbbc15f5e05e564f
tree77802b38de4520fba68831eaab97d33938330d0e
parentcf9b0139f4664445143ac3e45335d9758c14cbe7
image-fit: don't check free() argument

* free() checks if its argument is NULL. Remove duplicate checks.
* Remove duplicate free(ovcopy).

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
boot/image-fit.c