aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/efibootmgr/efibootmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index 90f792ec3fb3..5439cba5aa26 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -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