From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mempool: fix leak when mempool creation fails Date: Fri, 19 Feb 2016 16:18:18 +0100 Message-ID: <1793478.sHoS7saUzB@xps13> References: <1455633610-5179-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Olivier Matz Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id C5EADC57C for ; Fri, 19 Feb 2016 16:19:52 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id g62so73194697wme.0 for ; Fri, 19 Feb 2016 07:19:52 -0800 (PST) In-Reply-To: <1455633610-5179-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-16 15:40, Olivier Matz: > Since commits ff909fe21f and 4e32101f9b, it is now possible to free > memzones and rings. > > The rte_mempool_create() should be modified to take advantage of this > and not leak memory when an allocation fails. > > Signed-off-by: Olivier Matz Applied, thanks