commit | 87a8ca985bc0b63f8ad166b648f54496e097101e | [log] [tgz] |
---|---|---|
author | Sam Protsenko <semen.protsenko@linaro.org> | Fri Jul 13 16:35:46 2018 +0300 |
committer | Marek Vasut <marex@denx.de> | Wed Aug 08 22:22:08 2018 +0200 |
tree | ccbb4478810958783c5ab87658df44be34bf1c34 | |
parent | feaa7856f50ec5bbf843d533ee223aedd845452c [diff] |
dfu: Fix memory leak in dfu_init_env_entities() In case of error in dfu_init_env_entities(), env_bkp will leak. Fix it by providing single return path. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>