From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeftddgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Mar 2023 12:50:14 -0400 (EDT) From: Thomas Monjalon To: Tomasz Duszynski 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Applied, thanks.