From nobody Mon Jan 15 10:27:18 2024 X-Original-To: dev-commits-src-all@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 4TD7cR19yqz56ZRx; Mon, 15 Jan 2024 10:27:19 +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 4TD7cR0bvsz44tH; Mon, 15 Jan 2024 10:27:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314439; 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=OxcD9FYfoZyGkDLhww8ZsRjd36UMeM98TyMBCLx/CJo=; b=uR+UFmdkYZ/Pad1xxi2+jJGA4f9va0tZlrLWi3vLmDa+yjnwWK/6otqK3PWlA6N8GsPeVW pucRV+bwhlSGvLfj9S0391Xe9cVyMt7rNoWfnq357MqOb2UHvABS2u5m9WvU89jSR2qhy5 T8LJlT/kG0lqY9eZ6x6MmH+1Lg8EoBjvjjTBQmDy96AM2gE33Afs4A2PWnko0BMSZDZgdA SKtLzSC4AXEKRyKgn7qKLGMTHj+Yq8HXP/CA1R6XHThKsyEzqfhF2gAbjy1jq/rpn0BsTB MbB81zfc4es1InSUB19Au6mZrrFHmHucDBfKBKhP0V0aomGOoyPC/7inL5Dpxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314439; 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=OxcD9FYfoZyGkDLhww8ZsRjd36UMeM98TyMBCLx/CJo=; b=IxsnLmfN9M2JkWQ+9ET5ukT2jdCNKUaFQnF/Iu4haWBxA9BaN2PaVx1LMr9kWYh6zQzamf j4Xrl/EAcDkMYHp9mZijAE+Mhiaca2sMVR+nCeDSeVts9YYWlPDuDVBqkNYgnBWcRtGlkY gzndG+X6h/PeEu4Qr7bIbo29PxZZ78wHMj3SLwlcIhc9sKod4GzAUsobN2b/ot9FC7W76r bjs3xt0HKsOHGAo/kuxc0wCbwdOJAx+i4b5PgzmYP9oQ8YJBhfCnO/VD+fNrdZI3md09Zm J6wjDkhZ0vRty/5FZxvgq9OVW+P1dRKB89w7c7EilAq+uhEzOHHkdlihiiohUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705314439; a=rsa-sha256; cv=none; b=UEAZ/gzNllbIaxZl0Lrvd/EuVg3C/obT9RcE+Qz8Y1TrZ11qtue4hyXKyDVJK84lbT1xlf jl+fBteYu4ZODOy16bzC1fSY1TDZiZJq53wgzPwc8wvv89EcCogeV39ydOq7hRYB08igoG No1hHe2Vwoo7Asqlg81FfAbVVrWGFqBt72xD0Lut1/68XhNUYjLT200a6KCQVbbLjmKNEb 13I6rKHq1ercetxPKBKSpx3C46LFwmMDGr2bJfpKR2U8v9llONsfaTKOxq1ZCr72qKxKnE 22yxyCLkl4QKrnrAz+vKCsonUXDnYWBLVPoaeUhuaZb3Kn5AiqK9DWzI/jzTrg== 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 4TD7cQ6nG6zsgd; Mon, 15 Jan 2024 10:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40FARIl6003420; Mon, 15 Jan 2024 10:27:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40FARIUC003417; Mon, 15 Jan 2024 10:27:18 GMT (envelope-from git) Date: Mon, 15 Jan 2024 10:27:18 GMT Message-Id: <202401151027.40FARIUC003417@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Yoshihiro Takahashi Subject: git: e31753a02475 - stable/13 - mii: Fix memory leak in micphy. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nyan X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e31753a024758a1aa5db95950497c7f04e245b42 Auto-Submitted: auto-generated The branch stable/13 has been updated by nyan: URL: https://cgit.FreeBSD.org/src/commit/?id=e31753a024758a1aa5db95950497c7f04e245b42 commit e31753a024758a1aa5db95950497c7f04e245b42 Author: Jiahao LI AuthorDate: 2024-01-08 07:39:56 +0000 Commit: Yoshihiro Takahashi CommitDate: 2024-01-15 10:26:49 +0000 mii: Fix memory leak in micphy. PR: 270040 MFC after: 1 week (cherry picked from commit 9a622787244c4cda76d1509b0eae168bf4fd1952) --- sys/dev/mii/micphy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/mii/micphy.c b/sys/dev/mii/micphy.c index 57ae7e362a9f..f2a6d0b1f5b1 100644 --- a/sys/dev/mii/micphy.c +++ b/sys/dev/mii/micphy.c @@ -278,6 +278,8 @@ micphy_attach(device_t dev) else ksz9021_load_values(sc, cfg->phynode); + mii_fdt_free_config(cfg); + return (0); }