From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1A68C71B5 for ; Thu, 11 Jan 2018 15:16:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 06:16:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,344,1511856000"; d="scan'208";a="26358664" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga002.jf.intel.com with ESMTP; 11 Jan 2018 06:16:43 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX109.ger.corp.intel.com ([169.254.13.28]) with mapi id 14.03.0319.002; Thu, 11 Jan 2018 14:16:42 +0000 From: "Dumitrescu, Cristian" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "pbhagavatula@caviumnetworks.com" Thread-Topic: [PATCH 1/6] test: fix memory leak in bitmap test Thread-Index: AQHTew1iYpkGdkSq00CsTyudpZLWM6Nu11IQ Date: Thu, 11 Jan 2018 14:16:41 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891267BAFBBB3@IRSMSX108.ger.corp.intel.com> References: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> In-Reply-To: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: Thu, 11 Jan 2018 14:16:45 -0000 > -----Original Message----- > From: Burakov, Anatoly > Sent: Friday, December 22, 2017 10:12 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; > pbhagavatula@caviumnetworks.com > Subject: [PATCH 1/6] test: fix memory leak in bitmap test >=20 > 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(+) >=20 > 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; >=20 > + rte_bitmap_free(bmp); > + rte_free(mem); > + > return TEST_SUCCESS; > } >=20 > -- > 2.7.4 Acked-by: Cristian Dumitrescu