From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F906A054F for ; Wed, 29 Jun 2022 19:31:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 636DA427F5; Wed, 29 Jun 2022 19:31:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id DD7DF40691; Wed, 29 Jun 2022 19:30:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656523858; x=1688059858; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=7cBWRm5zfw/jwmghW7Setq5MgjShTGxrW9TmNnLLOcs=; b=ltOsQWNEniT0MHIWch4SLaojC/7xlBx4aCrqCftFwKcaW+M0k7P15N5z GjQQ/E9DOaLHRoG3n4FvCp6QM0Q+C8r98asiyzDDUPf1KRPfylcgVUvKi ge7cFB/Jv8x1QelW0uujhOsa9dcQiiaC8gupp8VvE5nzO1Mr3Q3Vm84Xz 6Zmy08DQHsO5eFmG2dCmamy3duNdvwapmJjzX/MZ1Amwhojovv0BqWejg vGR7IkxF6Urz4Yo/dsXNyViCbG/8+nRF9RkvSFVSEmiHYg1w1lfSqlRo9 Sg5OZ82JBPcDWfgM42jrBgR4o32UatC8681D3ylwH2VuQ/EpGYbkVIwlY A==; X-IronPort-AV: E=McAfee;i="6400,9594,10393"; a="346088224" X-IronPort-AV: E=Sophos;i="5.92,231,1650956400"; d="scan'208";a="346088224" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2022 10:30:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,231,1650956400"; d="scan'208";a="540931944" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 29 Jun 2022 10:30:56 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 29 Jun 2022 10:30:56 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 29 Jun 2022 10:30:56 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 29 Jun 2022 10:30:56 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 29 Jun 2022 10:30:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dPGq9A/kmOtavjHxVIdc8a4byCG4LUscj6r5jrL6Wh2KtKz4yPoiMMMsPYOXzVoM/jYLZlPxeOndgbvGVsexq5AxmiShz8cxo1ZbFfJf8SjN6Q4XKNIa+hveWYiwAA8MrxyWWDfnuwC69o5/f6JI0R31fJnhYBUe4y7yQk2Iz2RAh5ldCbMupL08pMqabt+yQGfW35Csh8cFSV/uFol2+Pv5JIzrN9rKujpLlv04/8HXNkN5TUpa+CCTtbhjrSd1iSBmujGjyH6+Lzj7D47CXYjCM4NZ180cJoimg2NH5pOF40VEqn9oT5Zl5krA4FywCdRqoYtVRhtCWvRYhM7FnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7cBWRm5zfw/jwmghW7Setq5MgjShTGxrW9TmNnLLOcs=; b=JhU7zU3D2erEdGb2NBFZN/XaRomPl8TDYX4D8kColsDzVRmDZjhB0Bwpx5paGvmm4Ac/g4YmLu7PteLo0a7bK2vxOGP6nP7Vvm1y2k1j8cd15L9zgDqgHrz1+VgPe5Rd94LLdQDrdEMrWnX0kRu1OT8hFuiAVAwUzWE/vrNv049ocGOMbH/x5VesXY5zfzheevEfA+VXAG8bdNWU9FztDc9WiMNpeOJ1Iw3GP3OdMwuDFncNRO9F55t26ByKfiCzC9E8CRBSTI3RUSb53vpXlj0Hl+jYNpnK6jYmXn8kBXcjNsJphfmgBiRdv3lun9VaTNwcJ+CO1R6RTilVyEvZXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by CY4PR11MB1637.namprd11.prod.outlook.com (2603:10b6:910:d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 29 Jun 2022 17:30:53 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::2890:cc50:6923:e01d]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::2890:cc50:6923:e01d%6]) with mapi id 15.20.5373.018; Wed, 29 Jun 2022 17:30:53 +0000 Message-ID: <1e2c4d1f-3a36-6527-9e3a-b3832da0900a@intel.com> Date: Wed, 29 Jun 2022 23:00:42 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] app/testpmd: fix memory leak for dscp table Content-Language: en-US To: Jasvinder Singh , CC: , , References: <20220628132916.1284235-1-jasvinder.singh@intel.com> From: "Singh, Aman Deep" In-Reply-To: <20220628132916.1284235-1-jasvinder.singh@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0131.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:bf::18) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 38baab1b-bfd7-4c78-81af-08da59f51dbf X-MS-TrafficTypeDiagnostic: CY4PR11MB1637:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5XeZp1Oynjb3Wr0J1HklvhoZaApVQAUGHsFqHOXu/hV5IvIRrkxwx9CKX9YRRfVYPTsgyV93nBa4mUVgHXMmV5fDNcVMSLND4Z9oze8/iewM9Vyz614qZnoYlULc2Xcpk8sqqt1iaY7vSc2ZOqnDBOttFnU72+enMiE0vYz2eIFN+GRFfzicg72gpmoLRlD0yu/HHSc6qbPYQG34al/CPoP9H4f1hm01Glkfmvmsp1RR6+uDqhA1kcFn2aS1yB2J+r5HOGhu9vXZmBnK7IVqcvV/BwbloRaP0m1CaUsNoA0fecyGhwVrEHTXVUryGCKecpgiq56Vj0tZEVt5AVB/WNmkkPOyE/X26KqjLpVgGUQhcUdg4YOivEA0QiqjhVYSFiUrMyOSFuSOhJBbyF/X4xXvwMGDsnVYVcKX0GTIcfOJCGmmkP6+xEDMmtFmsnq4WZSxIlyQM8fJgkiSnWJqE5/IUY9wgFzxpdibyNOCj8FExMuM01pqPHtelfLMsT+wKoj89iJbB88aNje1g5FYnCb8RN1OOqmnN77mruQlbRVB1VZ6GRtfNV237zVzofsJ3LVl8t8B3m9hfijMMZimZvX6F8OUbZEeKXBMJqkgMmvboIM2bBQoKknKNpyr3Qk8uUKQJJu93xUPBcQnyHOzkOB2BVJR6T2zTonaZCXAtQeQzAbPr3szSGeY/Y14jdhnz/kixT7L/IMcZDeF+u5GO5EBdsrOhfsqdEkvo+f3Jt03HLnP1Uenv8a4KDr2E/lZ91P/qXniLylmEMx/72kKudGXz8D180MWjQd28Sb1vapbf/0vOjh/tekEA6mG6fIA X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(396003)(39860400002)(346002)(366004)(136003)(376002)(186003)(8676002)(66946007)(6666004)(66476007)(66556008)(4326008)(450100002)(26005)(6512007)(2616005)(36756003)(6506007)(53546011)(82960400001)(38100700002)(31686004)(31696002)(86362001)(41300700001)(2906002)(316002)(4744005)(8936002)(6486002)(478600001)(5660300002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZFNTVDZYQ3ZuakdFekVMRFFzeUtVUmJ0MFVRQlBMUkNGMFB6T1FtelZ3d3E0?= =?utf-8?B?d2NLazk2b3B0ck95Nk4xSjdVUVlQRVBwUTk2bFpsQ0ZGRkdTendlMDlpdFYz?= =?utf-8?B?Sm1IRDNjZU5PTnUzaU9rUzFjVGJManlnSG9pSEd0ekZpL01vY3JwdmJoQjU1?= =?utf-8?B?WC9BTjJQNndIWVVRSFh4cWY5T1FudTFmazZndHg4VGt2VTJSWHpXZCt3akFQ?= =?utf-8?B?cF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0aVl4eDdMak13a25NUjBJQ0Zhb2gxS0hs?= =?utf-8?B?cXg3WGtlRlU5QkRMNi9nclNRYThSRTZSZHM0UkJUWnduTkkzOGx1NXNTZVd2?= =?utf-8?B?Y1pZRFZjZGlodXFvd045eFk0cjVCRU5ZVHZob3AzWUxFWnVWYTVudjc5dVhN?= =?utf-8?B?TFE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 38baab1b-bfd7-4c78-81af-08da59f51dbf X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2022 17:30:53.2139 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1gX7rbMUhEzY9nZQtyyzuaoWQZ76sluoRgdUW/jLtcbzxt74fh0+3XML1tFtbg3XuVSYQ8BoYyAPp7IvHyqp2X3sjA/h420xMDeNePKFvSc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1637 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 6/28/2022 6:59 PM, Jasvinder Singh wrote: > This patch fixes memory leak reported by coverity. > > Coverity issue: 379220 > Fixes: 9f5488e326d3 ("app/testpmd: support different input color method") > > Cc: stable@dpdk.org > > Signed-off-by: Jasvinder Singh Acked-by: Aman Singh