9
0
Fork 0

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>
This commit is contained in:
Aleksey Kuleshov 2016-08-17 11:52:04 +03:00 committed by Sascha Hauer
parent eabab33283
commit 5397742078
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}