Don't leak new_data.
CID: 1383605 Sponsored by: Netflix
This commit is contained in:
parent
c66805a5d5
commit
3af42ca7c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326801
@ -361,6 +361,7 @@ set_boot_order(char *order)
|
||||
free(cp);
|
||||
if (set_bootvar("BootOrder", (uint8_t*)new_data, size) < 0)
|
||||
err(1, "Unabke to set BootOrder to %s", order);
|
||||
free(new_data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user