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:
parent
eabab33283
commit
5397742078
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue