git: 7014e78fb714 - main - boot: Remove stray free()

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 07 Dec 2022 18:34:48 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7014e78fb714f85fe91c611663fdfb937b96714e

commit 7014e78fb714f85fe91c611663fdfb937b96714e
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-07 18:30:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-12-07 18:30:04 +0000

    boot: Remove stray free()
    
    Early versions of this code had a free, but this one doesn't need
    it. Remove the forgotten free(vv); from earlier versions.
    
    Fixes:                  ed56dcfc6b1f
    Noticed by:             Michael Butler
    Sponsored by:           Netflix
---
 sys/kern/subr_boot.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/kern/subr_boot.c b/sys/kern/subr_boot.c
index 49c7769afce4..d920140ae4b9 100644
--- a/sys/kern/subr_boot.c
+++ b/sys/kern/subr_boot.c
@@ -179,7 +179,6 @@ static int howto_masks[] = {
 			SETENV(n, "1");
 		else
 			SETENV(n, vv);
-		free(vv);
 	}
 #endif
 	return (howto);