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 5EDEFA04EF; Mon, 25 May 2020 03:45:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C6F041D664; Mon, 25 May 2020 03:45:13 +0200 (CEST) Received: from huawei.com (szxga08-in.huawei.com [45.249.212.255]) by dpdk.org (Postfix) with ESMTP id CC30A1D65D; Mon, 25 May 2020 03:45:11 +0200 (CEST) Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 9EEE65F0A125DF75718E; Mon, 25 May 2020 09:45:08 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.226]) by DGGEMM403-HUB.china.huawei.com ([10.3.20.211]) with mapi id 14.03.0487.000; Mon, 25 May 2020 09:45:01 +0800 From: wangyunjian To: Thomas Monjalon CC: "dev@dpdk.org" , "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] test-pmd: fix memory leaks when mtr policer actions update fails Thread-Index: AQHWMPRIdbQVNzeVJUaaCQA486/oIai24uUAgAEkT8A= Date: Mon, 25 May 2020 01:45:01 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D00C38F@DGGEMM533-MBX.china.huawei.com> References: <1590232871-21464-1-git-send-email-wangyunjian@huawei.com> <3778722.fp1UIQTtM0@thomas> In-Reply-To: <3778722.fp1UIQTtM0@thomas> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.173.251.152] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH] test-pmd: fix memory leaks when mtr policer actions update fails 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" > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Monday, May 25, 2020 12:08 AM > To: wangyunjian > Cc: dev@dpdk.org; Lilijun (Jerry) ; xudingke > ; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] test-pmd: fix memory leaks when mtr polic= er > actions update fails >=20 > 23/05/2020 13:21, wangyunjian: > > From: Yunjian Wang > > > > Fix memory leaks reported by Coverity. >=20 > Please add the Coverity ID with the syntax "Coverity issue:". This problem was found by Huawei internal Coverity. So I didn't add the Cov= erity ID. I will update the description to "This patch fixes the huawei internal cove= rity reported resource leak issue." in v2. Thanks Yunjian >=20 > > > > Fixes: e63b50162aa3 ("app/testpmd: clean metering and policing > commands") > > Cc: stable@dpdk.org > > > > Signed-off-by: Yunjian Wang >=20 >=20