From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2A3262BAE for ; Thu, 25 Oct 2018 00:54:06 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEDA522160; Wed, 24 Oct 2018 18:54:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 24 Oct 2018 18:54:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=zD+nYeFmJkTdZpnioyfzj5k42FMa6ERAdwckqWn2Hp8=; b=MjuGCdNRu9K3 1tkHZZh24EIc5gx9sdl7tQwTsjHuDRCscKaEGbYzSL8HYF8AoaEUuB593lXJggdg Kb5R61EtT2QEbChNVi980F64qLNh59MsnHWSzktrOljK2usoosDa4NciSkr3In10 Qq0a8ywwxuYRH7GmxQ75XYpZb2ndWMI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=zD+nYeFmJkTdZpnioyfzj5k42FMa6ERAdwckqWn2H p8=; b=gEQ3XS7LLnySmCAeVYvVbptZN2NN1zHXtiNuHCsyp97bpMO1z3qqUqbOj 1i/BhjSwAlDEMib55MPX7Wp162eNiE10fR7u3C/4U0LHt4LvAusURrUWmao3HOS1 hLD1WangfN4A1/jnjiXAjK8VCXdRBMLm+7DEGy/1IcoH5oR7a4BfylMtXlXI9NRw 4H3GBQfrwRHFYXW/iQRet6DEzo2vsp7pn2VLQHsmmhJR+nbW4z1HOZSbiWGzHYuH pqADnD260m3acIslx7P30WxO8sFZTXBcZHUURMnBQPsfvFBdSh7lYz68u5amabOo 9VordVVxVzwj8fsuBn6lILyd/1LVg== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DB0D5102F2; Wed, 24 Oct 2018 18:54:04 -0400 (EDT) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org Date: Thu, 25 Oct 2018 00:54:07 +0200 Message-ID: <1826553.Bfjk9qCGBg@xps> In-Reply-To: <20181024053302.22937-1-shreyansh.jain@nxp.com> References: <20181024053302.22937-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] raw/skeleton_rawdev: fix memory leak on test failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2018 22:54:06 -0000 24/10/2018 07:33, Shreyansh Jain: > In skeleton_rawdev unit tests, a malloc'd memory was leaking in case > the next sequential test fails. This fix moves the free of the > malloc'd memory above the failing test. > > Coverity issue: 260402 > > Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases") > Cc: shreyansh.jain@nxp.com > > Signed-off-by: Shreyansh Jain Applied, thanks