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)
commit7ffc66e7dbdd2c82b6b544574d39af6412a16b6e
tree77802b38de4520fba68831eaab97d33938330d0e
parentfe2f284270718c6cfbe7f87e7e1f378c2b172bf5
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