diff options
author | Aleksey Kuleshov <rndfax@yandex.ru> | 2016-08-17 11:52:04 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-08-18 09:12:59 +0200 |
commit | 539774207847fdff4e9202262b34642cfbcda7ba (patch) | |
tree | 77b9fc747f52f264d7d0419aeb85fbcc9aa5394b | |
parent | eabab332838178044b98014b06d3195531eac95d (diff) | |
download | barebox-539774207847fdff4e9202262b34642cfbcda7ba.tar.gz barebox-539774207847fdff4e9202262b34642cfbcda7ba.tar.xz |
fix double free
it already gets free in bootentries_free
no need to do this in ->release method
Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/boot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/boot.c b/common/boot.c index e66bacbb0e..8502464aa2 100644 --- a/common/boot.c +++ b/common/boot.c @@ -165,7 +165,6 @@ static void bootscript_entry_release(struct bootentry *entry) struct bootentry_script *bs = container_of(entry, struct bootentry_script, entry); free(bs->scriptpath); - free(bs->entry.me.display); free(bs); } |