From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix memory leak in memzone when no room in config Date: Fri, 12 Jan 2018 15:34:02 +0100 Message-ID: <2335341.MnR6ifWbT9@xps> References: <54078c957057cfc4bedc2146cf8961704b473d8f.1513865940.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: <54078c957057cfc4bedc2146cf8961704b473d8f.1513865940.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/12/2017 19:07, Anatoly Burakov: > We check if there's space in config after we allocated the memzone, > but if there isn't, we never free it back. This patch adds memzone > free if there's no room in memzone config. > > Fixes: ff909fe21f0a ("mem: introduce memzone freeing") > Cc: sergio.gonzalez.monroy@intel.com > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov Applied, thanks