Skip to content
Snippets Groups Projects
Commit 87a8ca98 authored by Sam Protsenko's avatar Sam Protsenko Committed by Marek Vasut
Browse files

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: default avatarSam Protsenko <semen.protsenko@linaro.org>
parent feaa7856
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment