From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=h/YjUqHKqhAByjk5N3q5VVhbF22BwT2kPgY6a3W1ma4=; b=W1XWxpFekj7aXMdPaBodD1o2g0x2NctTBfUTp36ogt7jQ7YUUvoto91zgDW/0wqDA0 OKuCPg9pJENJ1D1V40yEWdh5vNPO6hYsPX7aAf8b3hHAD5EaVPe0ZK/2lsOKXM5MihP5 Vusz01t/mQUvG5JjqLS6ywoqjD5iWJcxZeZ8OfKc5po0ImX7GXWamCcPUXmeCR7EkRL1 SUgh50C5ejQYtaZ0txRfcSm7NETTFO009t/0wzdG6udKnNfK7it+EwNDHLZFbBUEjcaI jkCCcpNyNekGGXEcj8INbekf7Qv4iy/1aCWaL4OHs1UnoZuu14H7enHWIGWfKiN1sxD2 2u6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=h/YjUqHKqhAByjk5N3q5VVhbF22BwT2kPgY6a3W1ma4=; b=kNWeLtSD341imaigAwwIe4FAXxvsCgoKzhVk1rbO7FqdGBJ+pK4fHzbThPhzqXTMbN 5upQSlKUxQO+vHjUtXVjgo4ovuBrkiEGVAytrJDhA2MSxhI8yzq56PNmRwljQaUGSYY0 A7TCOFL1t4wEa3enLzfDZu2JScilMvAeniBP+xPoQLgT+XFAE9DcP7GwD8zIjvpaxK1R f1vhuNddD4KtuRjDLx1GnXqlvGUFVxfGEaVpKx0+UPZmG/3HXLFdLyrCRTvTe4WnsuaL VBnm/BuVbCawd+mHi0q5XqXe6VIRCf3ALQsAgA8zN089VuBVBAbFfRVIr/4ZbLoDoN+9 4FEA== X-Gm-Message-State: ALyK8tLOgHytfmO3pqV/Ou8bvFrkpuKd4B1Bict2jML+L0zbtHjIdwtFXdrm1SDF5AwBmZts X-Received: by 10.28.146.9 with SMTP id u9mr10817001wmd.52.1466415232999; Mon, 20 Jun 2016 02:33:52 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id bf5sm4772028wjc.12.2016.06.20.02.33.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 02:33:52 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com, david.marchand@6wind.com Date: Mon, 20 Jun 2016 11:33:50 +0200 Message-ID: <2874585.SRR1KhdNe1@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1463044364-132623-1-git-send-email-danielx.t.mrzyglod@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/linuxapp: fix resource leak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 09:33:53 -0000 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.