diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-06-02 10:54:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-06-03 10:03:34 +0200 |
commit | 90f96b39cd851df684ec8d6a0c0d508c2503003f (patch) | |
tree | 70ddfe12a58ef5faa7238a006c0c98f269f0fd7e /commands | |
parent | 1c5ebfce0ce5d144341e187bd5c8ce447ceaf047 (diff) | |
download | barebox-90f96b39cd851df684ec8d6a0c0d508c2503003f.tar.gz barebox-90f96b39cd851df684ec8d6a0c0d508c2503003f.tar.xz |
sandbox: os: add_image: fix memory leak
devname is strdup'd few lines later, so remove the earlier strdup.
The pointer isn't stored anywhere persistent in between.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions