The branch main has been updated by imp:

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

commit 7014e78fb714f85fe91c611663fdfb937b96714e
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-12-07 18:30:04 +0000
Commit:     Warner Losh <[email protected]>
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);

Reply via email to