From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B9E5B7CC4; Thu, 11 Jan 2018 15:17:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 06:17:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,344,1511856000"; d="scan'208";a="192911055" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga005.jf.intel.com with ESMTP; 11 Jan 2018 06:17:11 -0800 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by irsmsx105.ger.corp.intel.com (163.33.3.28) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 14:17:11 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by irsmsx111.ger.corp.intel.com ([169.254.2.30]) with mapi id 14.03.0319.002; Thu, 11 Jan 2018 14:17:10 +0000 From: "Dumitrescu, Cristian" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH 5/6] test: fix memory leak in table autotest Thread-Index: AQHTew1ZG33dt1Ruuke8RhWxoysin6Nu14lg Date: Thu, 11 Jan 2018 14:17:10 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891267BAFBBC1@IRSMSX108.ger.corp.intel.com> References: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> <31d7534c095b9e6a0e36880f30d666778eff00d8.1513867589.git.anatoly.burakov@intel.com> In-Reply-To: <31d7534c095b9e6a0e36880f30d666778eff00d8.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 5/6] test: fix memory leak in table autotest 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:17:15 -0000 > -----Original Message----- > From: Burakov, Anatoly > Sent: Friday, December 22, 2017 10:12 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; stable@dpdk.org > Subject: [PATCH 5/6] test: fix memory leak in table autotest >=20 > Always deallocate allocated resources after the test is done. >=20 > Fixes: 5205954791cb ("app/test: packet framework unit tests") > Cc: cristian.dumitrescu@intel.com > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov > --- > test/test/test_table.c | 44 ++++++++++++++++++++++++++++---------------- > 1 file changed, 28 insertions(+), 16 deletions(-) >=20 > diff --git a/test/test/test_table.c b/test/test/test_table.c Acked-by: Cristian Dumitrescu