From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B3914A0520; Thu, 2 Jul 2020 12:53:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 33DED1D95E; Thu, 2 Jul 2020 12:53:31 +0200 (CEST) Received: from huawei.com (szxga02-in.huawei.com [45.249.212.188]) by dpdk.org (Postfix) with ESMTP id 4239D1D941; Thu, 2 Jul 2020 12:53:29 +0200 (CEST) Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id BA15D380D75930C3FAD0; Thu, 2 Jul 2020 18:53:27 +0800 (CST) Received: from DGGEMM422-HUB.china.huawei.com (10.1.198.39) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 2 Jul 2020 18:53:27 +0800 Received: from DGGEMM513-MBX.china.huawei.com ([169.254.1.144]) by dggemm422-hub.china.huawei.com ([10.1.198.39]) with mapi id 14.03.0487.000; Thu, 2 Jul 2020 18:53:39 +0800 From: wangyunjian To: Jeff Guo , "dev@dpdk.org" CC: "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] eal: fix memory leak when removing event_cb Thread-Index: AQHWTtWX6dZ5oSX/GU6oS14eX6nYyqjzgnAAgACbOvA= Date: Thu, 2 Jul 2020 10:53:17 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D098109@dggemm513-mbx.china.huawei.com> References: <1593518201-27524-1-git-send-email-wangyunjian@huawei.com> <2706952f-9788-b597-cf68-78f4dd3ed96d@intel.com> In-Reply-To: <2706952f-9788-b597-cf68-78f4dd3ed96d@intel.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.185.168] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v2] eal: fix memory leak when removing event_cb 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" SGksIEplZmYNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKZWZmIEd1 byBbbWFpbHRvOmppYS5ndW9AaW50ZWwuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgSnVseSAyLCAy MDIwIDU6MjggUE0NCj4gVG86IHdhbmd5dW5qaWFuIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPjsg ZGV2QGRwZGsub3JnDQo+IENjOiBMaWxpanVuIChKZXJyeSkgPGplcnJ5LmxpbGlqdW5AaHVhd2Vp LmNvbT47IHh1ZGluZ2tlDQo+IDx4dWRpbmdrZUBodWF3ZWkuY29tPjsgc3RhYmxlQGRwZGsub3Jn DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2Ml0gZWFsOiBmaXggbWVtb3J5IGxl YWsgd2hlbiByZW1vdmluZw0KPiBldmVudF9jYg0KPiANCj4gaGksIHl1bmppYW4NCj4gDQo+IE9u IDYvMzAvMjAyMCA3OjU2IFBNLCB3YW5neXVuamlhbiB3cm90ZToNCj4gDQo+ID4gRnJvbTogWXVu amlhbiBXYW5nIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPg0KPiA+DQo+ID4gVGhlIGV2ZW50X2Ni LT5kZXZfbmFtZSBpcyBub3QgZnJlZWQgd2hlbiBmcmVlaW5nIGV2ZW50X2NiLA0KPiA+IGFuZCB0 aGlzIGNhdXNlcyBhIG1lbW9yeSBsZWFrLg0KPiA+DQo+ID4gRml4ZXM6IGE3NTNlNTNkNTE3YiAo ImVhbDogYWRkIGRld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