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 76988A0542;
	Wed,  5 Oct 2022 14:30:53 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 33A7B40694;
	Wed,  5 Oct 2022 14:30:53 +0200 (CEST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com
 [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 3FE0E40143
 for <dev@dpdk.org>; Wed,  5 Oct 2022 14:30:51 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.west.internal (Postfix) with ESMTP id C1124320093E;
 Wed,  5 Oct 2022 08:30:49 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Wed, 05 Oct 2022 08:30:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding: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=1664973049; x=
 1665059449; bh=j6CCzhxa/cWRiYrMsMo5fC/yOQb5PCzRSgJNhejqFA8=; b=B
 TgaK5FrV1UAxGqTizkKdkPfH+xakFz9KLTMkS41+IXLKBXGKbXAW0/aHMQxiWYos
 TjhFFaNXjiX3CX9uMKv2eBJFVxBk+tXrr571rzvuqvfAnup0YOlcAsifUeMC8aFa
 UkElHD7BarOBADZaT88p1Uy1wRhLFF64/erbvJa1k5ZXtO8ioP4hU+YBWBJXMiRI
 qdnOVc6NBIOUiYHEaKRy4hR4ZPjyN9oVhPQgQSBt+g+rmOdwKAVEfTt1a7kigFiU
 4ddJ44AQpVb0XdXnr1JGWP/4jBff82+4eMWNv7s2HjoIMQmcT1kSEVWEzT2kX9Ei
 9iQHu35RppliR7nJI/SwA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :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=1664973049; x=
 1665059449; bh=j6CCzhxa/cWRiYrMsMo5fC/yOQb5PCzRSgJNhejqFA8=; b=m
 T1FcaJTION4/X6PvVHo8YOyIUtOWM+XLwI+qbuYvObW387fZjwSAi+KzKPhACCQN
 nXsa8d0AU4kTDPviQka49dAEXf1zkM54Gad8xXyNl/Nx0+tANl21oXB3kg6p1W9T
 tSt+5+DQQ3p4P6KSC4vanYQi715GoDYv/1OuJXFTIZ4mKwTaGrFrTXxx98+Ijo2u
 PbiJmDLvKVCQ/PnxrGJlQSrSHr7iHW2q1jR/E1xoFxcvlSIXSifdw2ooCiwXb3le
 aZgJFeZkQJaGv62v8g/NfV/n1vA5C895fiFtW1cgvl0b4vgxBzSz0u6OwNmtPYUA
 6FUQKrbnMC9Hs/rGc/xyA==
X-ME-Sender: <xms:-Xg9Y9ZXwTVFpKygqXrY_YcrLcLwGeP1DZZCJz4lQ2f341xTSCPSyg>
 <xme:-Xg9Y0bGem2QPrkM7MpDEkcjG6ZFYjGvUk_6bEgYKvjXPfWW0_T60dFm-It1s2Mhg
 p0pOMoU6h6sCrR0fQ>
X-ME-Received: <xmr:-Xg9Y_-nUV89d3Xl30FdjgryWd1P9oqED7QyOsoMVv96An_W5VDAqD2zmsvQuE3qmml1pavbHlkJLQQkuhX1u_W6rA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeifedghedvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei
 kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:-Xg9Y7oNqzh2PTvYmp52hW1S-mR69nyxYEfY0LlOX62IdRCJrUpVTw>
 <xmx:-Xg9Y4q45f6pjadZflMUAo9BSyMtzwPHXJXWTKaRY8wUW7dgGgcLBg>
 <xmx:-Xg9YxQrujf5LuCW7fBgrDHfJnNwSj4BEpMypXd2bC8-Uk1NpF0rVA>
 <xmx:-Xg9Y_2M96fCI5i10fNn4QREzaEScBHUb6O9XQsvYrmZ9ZYB1QKsGQ>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 5 Oct 2022 08:30:48 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Harshad Narayane <harshad.suresh.narayane@intel.com>
Cc: dev@dpdk.org, Kamalakannan R <kamalakannan.r@intel.com>,
 Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Subject: Re: [PATCH] examples/pipeline: fix memory free
Date: Wed, 05 Oct 2022 14:30:47 +0200
Message-ID: <16990847.5WZRyvrzyv@thomas>
In-Reply-To: <20220927043732.366980-1-harshad.suresh.narayane@intel.com>
References: <20220927043732.366980-1-harshad.suresh.narayane@intel.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

27/09/2022 06:37, Harshad Narayane:
> Coverity issue: 380863
> Coverity issue: 380866
> Fixes: 6bc14d9f ("examples/pipeline: add command for shared library build")
> 
> Fix memory resource free for buffer allocation failure at pipeline
> library build.
> 
> Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Reordered lines in the commit log and applied, thanks.
Note: this is not fixing "free", it was missing,
but it is fixing a leak.