From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id CA08E41EB1;
	Thu, 16 Mar 2023 17:50:16 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B729F42D69;
	Thu, 16 Mar 2023 17:50:16 +0100 (CET)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id EB27942D64
 for <dev@dpdk.org>; Thu, 16 Mar 2023 17:50:15 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 4FBC85C01A4;
 Thu, 16 Mar 2023 12:50:15 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Thu, 16 Mar 2023 12:50:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1678985415; x=1679071815; bh=ugcqdkidHB9SDENZKjt9pgMuOqNSmhwJ8Uy
 k6b36tzk=; b=MVRp2zVnYbj8SOcPiGJZZ2qPE3RffyDCq8u8ECG25bmR7GiQFcT
 KeXcZdznUXVymemOBSCn1GE1SVqTWNCAdmHFnhtB8mKJyIDiSPucbtBUYc/yRgx1
 6tFqVPh3rOrVAFeai4rt8WPx/vcf5mL4CQgjVmY8tPV/3guhfi3Tlt0Q4cd/A2ho
 +qsBM3qoS78PNiQ6RSynZXcpBCwW/j+xeb358wphGOoPSz5eGyNL70qXRnHPPVsO
 m59E3FwROsUO2SWGQOfkz3n/otgTtCuUxNy5IZCpOnq97StVwwMQN9aW9hPNhuuZ
 g9Hu6ecAhBSXte6zxQN3B83XJMwP+sVaWNg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1678985415; x=1679071815; bh=ugcqdkidHB9SDENZKjt9pgMuOqNSmhwJ8Uy
 k6b36tzk=; b=MQ0gHUug6gkLEBaOzomRr1ks1iIcgPF9EmOICyJ9p1N9LHvhU1W
 p72jF6olTwwNCodykvLT+eRzdWVL7w627E2vYGarOheSHq5t1qj8nm65drd30grV
 ncL10ignszVPVKJLuK3IqZU8NXONTwpzFvOSkMmZv3aOw20S1Uk+XQ3Q1KqEMxNp
 CVERZjmSYvHLylLssgwxAw+fmRbumRyeVqg1VHuxOsz3JTQVg4PNrcNFx6mqyKaV
 cooZkRbbJ1FhHpffbRZaiP9SlBKpShGBsx56xmK0K4fTBLsYfpfV309dh+6zvu17
 nr0Nfx1RuTIDIgS1T+YERORMv1bEULyQYkQ==
X-ME-Sender: <xms:x0gTZG7U57coLhwqrZtRSRpS0UEXIpmPsgv_ta5qTbLTkiuIGyg7tA>
 <xme:x0gTZP5i7he7cLSRV29coNnMsbhToHJs5ZmsU1V_bVeTU5LtiBTrlD9ZyY5WQhdWh
 78M0oKW5NPSX_NV8A>
X-ME-Received: <xmr:x0gTZFey-NpLqlcp5ihLxdvjT2y0-9ISyZfF8igZ0FfMfB9MYSbJiNTmoxFShHiuPSEbcu328-ypz4RM6qE1PDm25w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeftddgleegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei
 kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:x0gTZDKFNcunJoTZa8w3JyrOpMpUdsmn33gBBJatfyraYSHLv7_LlQ>
 <xmx:x0gTZKJm0P1hwUjrCEB_98kD3sJg7q-Lr6eL5VZks75vZrceh8JTTQ>
 <xmx:x0gTZEzbL-hn6Uh-UTW6fZkTai6L1GvZs0BXFpVwNPOd6Xso_Qh8Tg>
 <xmx:x0gTZEwjs6ig4mnYGZ-e4JdHn3HgX_9HzAWbsqtL5Clzd7iIC_bOiQ>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 16 Mar 2023 12:50:14 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Tomasz Duszynski <tduszynski@marvell.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] bus/platform: fix resource leak
Date: Thu, 16 Mar 2023 17:50:13 +0100
Message-ID: <8191744.T7Z3S40VBb@thomas>
In-Reply-To: <20230316081455.3352891-1-tduszynski@marvell.com>
References: <20230316081455.3352891-1-tduszynski@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

16/03/2023 09:14, Tomasz Duszynski:
> On error function may return without releasing some
> allocated resources which causes a memory leak. Fix it.
> 
> Coverity issue: 383660
> Fixes: 17c839f74da3 ("bus: add platform bus")
> 
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>

Applied, thanks.