commit | 6500cde229f930280753fe6e0b02633b99972cb0 | [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 | 6d29e5ca348b6e7f88e507db41f1fa3eebfca452 [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>