From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 6F4A11B1CA; Thu, 25 Jan 2018 23:13:09 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 048F021381; Thu, 25 Jan 2018 17:13:09 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 25 Jan 2018 17:13:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=FqF322MQ0S5oY98h1OaxTS1l+v 5kjfg8zC3OcdGbE00=; b=irdU6Tl8W/XpxRqx/kYC5brwYRE8SuYcjihmnsGJGw rbBH33f4dSmBZgj6KKPKfKiH3V+b0qhwnjFwFgNv1jI5G8ZWSMYZ4j5OZZJ3CXEB 0jq5IZwzOiYO1K9/x5YizIIBNBqqAj3291J0JlUyxBvCL57Ny7pavTWR7v/C5Qs6 w= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=FqF322 MQ0S5oY98h1OaxTS1l+v5kjfg8zC3OcdGbE00=; b=BQs1SNhJCL450OlSkwCXSc aK8g0JLvuyr3S0rHsSdr3PDyiUR4OzZVb3TBjsIi2zBGWrbDZRx/Gb0nR1EdHlGv mtC1I/gABZ2cyZbDaWgvaL6NLycD1vPD9hM5pzGPzSVG130v4ohFmkOk8B2mjHJK zxE9B/n4bdQN0HOR0AA3xuZt3LWXBYvDid80DF4xYoB4+TzEQP4huIEPM490uQbt X6MfWKxQScguTVZ+xR/3LCmSkL9n90W/lX68mWTLgYua05dmU571b2cjyGq/5KTC pzWtpeadWj6bJ/hVawCdrYdMKdmI9Zi0UTzxManHTo/du6UkjS5+Y3PGmaJaXHbw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AFFFC7E1A2; Thu, 25 Jan 2018 17:13:08 -0500 (EST) From: Thomas Monjalon To: Harry van Haaren Cc: dev@dpdk.org, vipin.varghese@intel.com, stable@dpdk.org Date: Thu, 25 Jan 2018 23:12:26 +0100 Message-ID: <2159438.MooJQC6VvW@xps> In-Reply-To: <1516813367-163213-1-git-send-email-harry.van.haaren@intel.com> References: <1516813367-163213-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] service: fix possible mem leak on initialize 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: Thu, 25 Jan 2018 22:13:09 -0000 24/01/2018 18:02, Harry van Haaren: > This commit ensures that if that if we run out of memory > during the initialization of the service library, that the > first allocated memory is correctly freed instead of leaked. > > Fixes: 21698354c832 ("service: introduce service cores concept") > Cc: stable@dpdk.org > > Reported-by: Vipin Varghese > Signed-off-by: Harry van Haaren Applied, thanks