From nobody Mon Jan 15 10:26:39 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 4TD7bh48bVz56ZRW; Mon, 15 Jan 2024 10:26:40 +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 4TD7bg70zzz44Nb; Mon, 15 Jan 2024 10:26:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314400; 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=9vTkOtYWddvS1N1WGGD1YIq1zu09J5ih5LuNox6qyOg=; b=ZL7ZkQHMLE86dZjuVNCBgVSDW8W/slDgar6YGO0iKxUUJZ3MUUqwyX3WtDwkKMuIfiaXPm Cx+Do55A/v3Elwh5d5A8Ro/9+gSO5CEw/bc1r5n4MKBcMszi/wv/a7Q+BvKCsRu1hOpAoB guEY2OXPr/fQAoTaPbFBP1RRGUPEsgS1rYMXyYt9xAwIFwTq4PAmPenuNcuBvcwbYHauka 6mi/K8U3PVM6ew2IFYXL6J+i2KNTACo6OpOSAht4wkfsKlwg1IyUAkcr2gNvAWVVe01wDp DCPT3TksXa4NfJzhIIhO4jcygX9DxJ3IQZuajzsB5hagKkfN7FIUatp1U2BVFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705314400; 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=9vTkOtYWddvS1N1WGGD1YIq1zu09J5ih5LuNox6qyOg=; b=mdauVBPYo2fJejuIyoZuXESsYzL+wqEXbiWpysMKxj0PSVYp3tYtRG4/bu585f+6k+qbBV WiZil4IA32e0eBfm3dsHaGjPB0MgpUZGDhA78DC0gt/uASFliI9zTirVejKHdyVwh2zQ35 vli6cE/n1YA3lJMT3JN12ZGGXaKncg7m/QokrBgwsz1mOJJ8pZIqPZTmP6qJfa8fyj5hlP F85BB5noFKIT7b/IEp4A9NFWBWw7keA/zYBmuFz2GDTdvklRgC7+u/ojLrrwPlJlN4CX1z FCZOsc7byevJfbsZiAlnjQ6hkpF5ssf6H1yqFEZUbAacde/t+weHIiiXS4e7yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705314400; a=rsa-sha256; cv=none; b=dX19874lLAVrjI9VkAxPT6JV74bwTjIwUzF8s0eKyO79tPBWPhi2EL8xCDLchEfJJyWMtk lOO8HjTJmyHOCImjqGfr3i0iEpAfq718A/HqgeLNlBHUAmX5szPWCNT0DGuBjdZhAT3oO0 99JNoZIa0lBdlc/EhpXkeHFJ6LUfmHiVLsANN4LIXmwlXx/errS18aM8AYVqilB7f0wiRi +E/8Es80qOORKlLUhTgfjR22F3CuxkEX41fTZS39SQbsow0n2LwuukGMqoSk6Sp9Ns4HB7 wgBfE52HO0Pk9hC56/1M4As3WV7xlIHeEQNN22IdxVF+TzDy9XvxQDJ2Q0KQwg== 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 4TD7bg65RjzsmK; Mon, 15 Jan 2024 10:26:39 +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 40FAQdDw003207; Mon, 15 Jan 2024 10:26:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40FAQdIt003204; Mon, 15 Jan 2024 10:26:39 GMT (envelope-from git) Date: Mon, 15 Jan 2024 10:26:39 GMT Message-Id: <202401151026.40FAQdIt003204@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: fbc5e31c4f1e - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: fbc5e31c4f1e97139aa718baafec096ead8139dd Auto-Submitted: auto-generated The branch stable/14 has been updated by nyan: URL: https://cgit.FreeBSD.org/src/commit/?id=fbc5e31c4f1e97139aa718baafec096ead8139dd commit fbc5e31c4f1e97139aa718baafec096ead8139dd Author: Jiahao LI AuthorDate: 2024-01-08 07:39:56 +0000 Commit: Yoshihiro Takahashi CommitDate: 2024-01-15 10:26:02 +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 fa212bf43655..4783398886f5 100644 --- a/sys/dev/mii/micphy.c +++ b/sys/dev/mii/micphy.c @@ -276,6 +276,8 @@ micphy_attach(device_t dev) else ksz9021_load_values(sc, cfg->phynode); + mii_fdt_free_config(cfg); + return (0); }