Date: Tue, 12 Dec 2017 19:45:25 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326806 - head/usr.sbin/efibootmgr Message-ID: <201712121945.vBCJjPto034912@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue Dec 12 19:45:24 2017 New Revision: 326806 URL: https://svnweb.freebsd.org/changeset/base/326806 Log: Actually insert the free(d) call missed in r326802. Noticed by: rpokala@ Modified: head/usr.sbin/efibootmgr/efibootmgr.c Modified: head/usr.sbin/efibootmgr/efibootmgr.c ============================================================================== --- head/usr.sbin/efibootmgr/efibootmgr.c Tue Dec 12 19:26:28 2017 (r326805) +++ head/usr.sbin/efibootmgr/efibootmgr.c Tue Dec 12 19:45:24 2017 (r326806) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712121945.vBCJjPto034912>