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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to