From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 80BA6A0096 for ; Wed, 8 May 2019 00:04:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4396E2082; Wed, 8 May 2019 00:04:26 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DBE8B1F28 for ; Wed, 8 May 2019 00:04:23 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 15:04:22 -0700 X-ExtLoop1: 1 Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 07 May 2019 15:04:21 -0700 Received: from fmsmsx115.amr.corp.intel.com ([169.254.4.68]) by fmsmsx104.amr.corp.intel.com ([169.254.3.3]) with mapi id 14.03.0415.000; Tue, 7 May 2019 15:04:22 -0700 From: "Carrillo, Erik G" To: "Burakov, Anatoly" , "rsanford@akamai.com" , "thomas@monjalon.net" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] timer: fix resource leak in finalize Thread-Index: AQHVBMSSHkt2fsGJK02BXBn6e5VAxqZgLxXw Date: Tue, 7 May 2019 22:04:21 +0000 Message-ID: References: <1556737217-24338-1-git-send-email-erik.g.carrillo@intel.com> <1556924082-22535-1-git-send-email-erik.g.carrillo@intel.com> <7baed0b9-432f-be86-5e39-68035bc309a4@intel.com> In-Reply-To: <7baed0b9-432f-be86-5e39-68035bc309a4@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.600.7 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjg2NWFhM2QtMDMwZS00OTgzLThjMGMtY2I2YjBmZjE3NGY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUXpIUEcyd01KUkVvMG9PWkc0dHBodzlyMjltZXh0WGtzSVJIanRKVEJuTnRINkxyaERxZjhRNGVUdTBlY2t2TCJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.1.200.106] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] timer: fix resource leak in finalize 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190507220421.kRDipzk7DySi3_7SSdsUmhA7x3HHe4-jexeUFdzaaPk@z> SGkgQW5hdG9seSwNCg0KVGhhbmtzIGZvciB0aGUgcmV2aWV3LiAgQ29tbWVudHMgaW4tbGluZToN Cg0KPC4uLnNuaXBwZWQuLi4+DQoNCj4gPiAgICNkZWZpbmUgUlRFX01BWF9EQVRBX0VMUyA2NA0K PiA+ICtzdGF0aWMgY29uc3Qgc3RydWN0IHJ0ZV9tZW16b25lICpydGVfdGltZXJfZGF0YV9tejsg c3RhdGljDQo+ID4gK3J0ZV9hdG9taWMxNl90ICpydGVfdGltZXJfbXpfcmVmY250Ow0KPiA+ICAg c3RhdGljIHN0cnVjdCBydGVfdGltZXJfZGF0YSAqcnRlX3RpbWVy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