summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdpart.c
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2018-07-13 16:35:46 +0300
committerMarek Vasut <marex@denx.de>2018-08-08 22:22:08 +0200
commit87a8ca985bc0b63f8ad166b648f54496e097101e (patch)
treeccbb4478810958783c5ab87658df44be34bf1c34 /drivers/mtd/mtdpart.c
parentfeaa7856f50ec5bbf843d533ee223aedd845452c (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/mtdpart.c')
0 files changed, 0 insertions, 0 deletions