diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2018-07-13 16:35:46 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-08-08 22:22:08 +0200 |
commit | 87a8ca985bc0b63f8ad166b648f54496e097101e (patch) | |
tree | ccbb4478810958783c5ab87658df44be34bf1c34 /drivers/mtd | |
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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions