]> git.baikalelectronics.ru Git - uboot.git/commit
common: avb_verify: Fix never-occurring avb_free(ops_data)
authorEugeniu Rosca <roscaeugeniu@gmail.com>
Tue, 14 Aug 2018 00:43:08 +0000 (02:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Aug 2018 17:19:53 +0000 (13:19 -0400)
commitb12082f128c770bff92ff40ddca9e3a71ba07039
tree8ed5489f33ffa2a18be3860f1379f3a0be31b3c3
parent7baf8f39427f0b034c241c90e609c51683cfb25b
common: avb_verify: Fix never-occurring avb_free(ops_data)

Cppcheck (v1.85) reports w/o this patch:

[common/avb_verify.c:738] -> [common/avb_verify.c:741]: (warning) \
  Either the condition 'ops' is redundant or there is possible null \
  pointer dereference: ops.

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
common/avb_verify.c