From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id ABB7F1B37F for ; Fri, 22 Dec 2017 11:12:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Dec 2017 02:12:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,440,1508828400"; d="scan'208";a="18134547" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 22 Dec 2017 02:12:12 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id vBMACB25002151; Fri, 22 Dec 2017 10:12:11 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id vBMACAe8008023; Fri, 22 Dec 2017 10:12:10 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id vBMACADN008019; Fri, 22 Dec 2017 10:12:10 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: Cristian Dumitrescu , pbhagavatula@caviumnetworks.com Date: Fri, 22 Dec 2017 10:12:05 +0000 Message-Id: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 1/6] test: fix memory leak in bitmap test 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: Fri, 22 Dec 2017 10:12:15 -0000 Fixes: c7e4a134e769 ("test: verify bitmap operations") Cc: pbhagavatula@caviumnetworks.com Signed-off-by: Anatoly Burakov --- test/test/test_bitmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test/test_bitmap.c b/test/test/test_bitmap.c index 5c9eee9..7045d33 100644 --- a/test/test/test_bitmap.c +++ b/test/test/test_bitmap.c @@ -186,6 +186,9 @@ test_bitmap(void) if (test_bitmap_scan_operations(bmp) < 0) return TEST_FAILED; + rte_bitmap_free(bmp); + rte_free(mem); + return TEST_SUCCESS; } -- 2.7.4