From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] eal/linuxapp: fix resource leak Date: Mon, 20 Jun 2016 11:33:50 +0200 Message-ID: <2874585.SRR1KhdNe1@xps13> References: <1462982465-129762-1-git-send-email-danielx.t.mrzyglod@intel.com> <1463044364-132623-1-git-send-email-danielx.t.mrzyglod@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com, david.marchand@6wind.com To: Daniel Mrzyglod Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 2EE1095D7 for ; Mon, 20 Jun 2016 11:33:53 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id f126so61217413wma.1 for ; Mon, 20 Jun 2016 02:33:53 -0700 (PDT) In-Reply-To: <1463044364-132623-1-git-send-email-danielx.t.mrzyglod@intel.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-05-12 11:12, Daniel Mrzyglod: > Fix issue reported by Coverity. > Coverity ID 97920 > > munmap structure of hugepage > > leaked_storage: Variable hugepage going out of scope leaks the storage > it points to. > > The system resource will not be reclaimed and reused, reducing the future > availability of the resource. > > In rte_eal_hugepage_init: Leak of memory or pointers to system resources Please reword.