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 D2DF0A0519; Fri, 3 Jul 2020 09:52:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00FC71DA2F; Fri, 3 Jul 2020 09:52:25 +0200 (CEST) Received: from huawei.com (szxga03-in.huawei.com [45.249.212.189]) by dpdk.org (Postfix) with ESMTP id D861D1DA16; Fri, 3 Jul 2020 09:52:23 +0200 (CEST) Received: from DGGEMM402-HUB.china.huawei.com (unknown [172.30.72.56]) by Forcepoint Email with ESMTP id 0FFA1921FC795ED30734; Fri, 3 Jul 2020 15:52:22 +0800 (CST) Received: from DGGEMM513-MBX.china.huawei.com ([169.254.1.144]) by DGGEMM402-HUB.china.huawei.com ([10.3.20.210]) with mapi id 14.03.0487.000; Fri, 3 Jul 2020 15:52:12 +0800 From: wangyunjian To: David Marchand CC: dev , Jeff Guo , "Lilijun (Jerry)" , xudingke , dpdk stable Thread-Topic: [dpdk-stable] [dpdk-dev] [PATCH v3 1/2] eal: fix memory leak when removing event_cb Thread-Index: AQHWUGaJ/uJuVw8JCE+V381UrRUT46j07qgAgACK5/A= Date: Fri, 3 Jul 2020 07:52:12 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D099075@dggemm513-mbx.china.huawei.com> References: <1593690428-12708-1-git-send-email-wangyunjian@huawei.com> In-Reply-To: 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] [dpdk-stable] [PATCH v3 1/2] 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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