aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/efibootmgr/efibootmgr.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-12 19:45:24 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-12 19:45:24 +0000
commit155b183ad2778bd7442fc26efbac9113eb58f91f (patch)
tree35c3289c60e8d83afcb990b165f2acbbec5da343 /usr.sbin/efibootmgr/efibootmgr.c
parent96723f5a89c8039a5e92fc0ad3f6de291a65b76b (diff)
downloadsrc-155b183ad2778bd7442fc26efbac9113eb58f91f.tar.gz
src-155b183ad2778bd7442fc26efbac9113eb58f91f.zip
Actually insert the free(d) call missed in r326802.
Noticed by: rpokala@
Notes
Notes: svn path=/head/; revision=326806
Diffstat (limited to 'usr.sbin/efibootmgr/efibootmgr.c')
-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 ffbbb61776a8..bec2c415018d 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -823,6 +823,7 @@ print_boot_vars(bool verbose)
d = get_descr(data);
printf("%s%c %s", v->name,
((load_attrs & LOAD_OPTION_ACTIVE) ? '*': ' '), d);
+ free(d);
if (verbose)
print_loadopt_str(data, size);
else