From nobody Wed Dec 07 18:34:48 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NS5YN74zLz4jVlM; Wed, 7 Dec 2022 18:34:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NS5YN6clcz3CLx; Wed, 7 Dec 2022 18:34:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670438088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fkcyBjPavoOBesOYVgr6zTbYrvhDPCvbqSgTmKE7/CY=; b=C5yrcFyk+M37aAqfGOythsD5YyzMB/iHPQBXvL/GrDXAUo0nn9r2SPPJo0Vtu2QBcFp4rA dMeoVV7nBTc+Mie7IEb7EP+3yQStglR9oEu+/ZW8+pUx3MZvStQG8E+HR4nFwcWtFOgoKw cNz7NRT9s56TGEuycvpsw/LWsn5Sr8XaDnvcVJiO5wMHE95wTfBqydJgNOxNBBmViqv7NS s0zPtDyGTuXgZOcMaxTSxzgk9vxlqetwKCWoz6EyMiRZRqeevf49yLT5PyQSyUvLMcvlNR mZi1b85ekIxVoHjos0ekN+6ciTZi3pwvasfQj7oi4nh2SqgjAIbq4VU3+TxhbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670438088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fkcyBjPavoOBesOYVgr6zTbYrvhDPCvbqSgTmKE7/CY=; b=GvrNXemcO0qeKwEiKF/vkdgRVaX7BEhNDgKqPoNqGu1SdwfKCDzk86cfNIugF+6xbqRuQv AkkndLwwu1OerKh8+f13z+IZktQ3xZM/B0oC7QWhrnqqSBMIHjMqbYmdQPKy5qTH14bIb5 LNirpsiLkjTkwtCZRz2DLgS82mEhrGb7PttrzXnpnMi0HutMcnMtUAdtQy4ryNxSxgnYXk uJFjjmpmtYaasAA1i5VU6eslhbgKmYaiVzTJ4IYI6r5Pu+jwLdmEn0E+0rirbQFrbMcN7e nASPpgufPuCXrOJ9zPdJCyNlGqu8Pga4wxMOU+PCe3mcfErIamiVETgQbNoEqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670438088; a=rsa-sha256; cv=none; b=Qex7NejZdXkiYmIvoarYrr+p9VyQanQ/h7wzFnzXvQS0flHHxA7EqvtZAxvVtS6rLWE1Aq dOSLCbvUCOEzThVA7K1p/cW9/Wk+ojI1lFgcz+JKhNO/zxcvShZ2QT/GXMBaTjdgG3jIUs Si/1iEpBw3ttPY7raBeyPrvCit8SaCfU/WvqBIz6GQV3vezaE6lasCBgdGQ5rwJ/aeM5KM W7OvWOVm8VERwoJMmOXH7BVjmI6wvkEAh3ejT0bc+RZEhhhFLmcriTudt9EBXuYrt82WGo 5VY/8aWy62WLmNPGeC48XU/iEyXmy59fa/4t/oHpcti070zeatNFxsJEhtByfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NS5YN5TCGzRlM; Wed, 7 Dec 2022 18:34:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B7IYmmb015693; Wed, 7 Dec 2022 18:34:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B7IYmbx015692; Wed, 7 Dec 2022 18:34:48 GMT (envelope-from git) Date: Wed, 7 Dec 2022 18:34:48 GMT Message-Id: <202212071834.2B7IYmbx015692@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7014e78fb714 - main - boot: Remove stray free() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7014e78fb714f85fe91c611663fdfb937b96714e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7014e78fb714f85fe91c611663fdfb937b96714e commit 7014e78fb714f85fe91c611663fdfb937b96714e Author: Warner Losh AuthorDate: 2022-12-07 18:30:04 +0000 Commit: Warner Losh 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);