From 155b183ad2778bd7442fc26efbac9113eb58f91f Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 12 Dec 2017 19:45:24 +0000 Subject: Actually insert the free(d) call missed in r326802. Noticed by: rpokala@ --- usr.sbin/efibootmgr/efibootmgr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin/efibootmgr') 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 -- cgit v1.2.3