svn commit: r326806 - head/usr.sbin/efibootmgr

Warner Losh imp at FreeBSD.org
Tue Dec 12 19:45:26 UTC 2017


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


More information about the svn-src-all mailing list