From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B32FC433DF for ; Mon, 8 Jun 2020 12:46:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C9C62078D for ; Mon, 8 Jun 2020 12:46:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TzcQfAfJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="pvoyh0Wm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C9C62078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Subject: References:In-Reply-To:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=I5zZ4unjlb0NQ5d5VMwAKUvBmEUPysLXdIpkGwWiMN8=; b=TzcQfAfJo0oR60 zSvNFwuCDkM3fnErDA+6OhTS6mRycWVMW5AlIPgtAdPtDLOb+Xqm/mGuMZ2+4DBCSHHFoIHwnOGDY BkH74RGaUSYlm3dpQ7BldINKKPv0l3AMxZvP6B0VsuoTwus/0zRPDvXdyOMBlbi0XfiedP1OjYbV4 8Qt1RIJxpbr+bBk5cHMiI96uyYLiR2HQoVDfXqLDeED3UnMbtK9NsGlH1uvaSLedavB9zvzWSuUH+ SuxFDbgUbSvBfQa1tkODbrVFRvKeTkWV19slVBepvp3QZWZ9zlseZQwP5pAWG9dWoKvEXT4VwgXd8 WMp5f2EyL/C7XEHnQkSg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiHAP-0003Ef-4r; Mon, 08 Jun 2020 12:46:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiHAM-0003Di-07; Mon, 08 Jun 2020 12:46:15 +0000 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 213622072F; Mon, 8 Jun 2020 12:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591620371; bh=FCAvqfmKFayKCxPdwRtAqVx7sG8HLE4jjh4Q6F84pqk=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=pvoyh0Wmbo79Pc12rA2pIrsB8hDaGNNVxeCDJUrDxMXEg53yWzsj/jpoCMVRQ/D+k iS4q0ZxJQwdYgnH5S5bPje7+IJARN2szNwFq7POidTzoZLNpDR/H7bW51LWAzgk6YT GT/iYSpw5umoi75sI57tbGb1OzSZk8hx6Qd8TspE= Date: Mon, 08 Jun 2020 13:46:09 +0100 From: Mark Brown To: Jerome Brunet , Kevin Hilman , Colin King , linux-arm-kernel@lists.infradead.org, Jaroslav Kysela , Liam Girdwood , linux-amlogic@lists.infradead.org, alsa-devel@alsa-project.org, Takashi Iwai In-Reply-To: <20200604171216.60043-1-colin.king@canonical.com> References: <20200604171216.60043-1-colin.king@canonical.com> Subject: Re: [PATCH] ASoC: meson: fix memory leak of links if allocation of ldata fails Message-Id: <159162036934.23368.2440967052610831030.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200608_054614_061370_6D77FE95 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Thu, 4 Jun 2020 18:12:16 +0100, Colin King wrote: > Currently if the allocation of ldata fails the error return path > does not kfree the allocated links object. Fix this by adding > an error exit return path that performs the necessary kfree'ing. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: meson: fix memory leak of links if allocation of ldata fails commit: 6e801dc411329aff592fbd48fb116183d0acdb00 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic