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 D16BC42B48; Fri, 19 May 2023 13:08:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C3DCA42D29; Fri, 19 May 2023 13:08:46 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 963644161A; Fri, 19 May 2023 13:08:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684494524; x=1716030524; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=+foM8w6jPyxYy57nJ02yeRuh97V/errcEdw9W5fGdbY=; b=Nmg0yxc4apultbxR34REYgTalgC09qy9MQYO4pFmqSgOxnWAKeQ8pkn3 MdNOCdIHQ8a4F2cNCrM6sxK/R2bGhoyM7T244wkkMNeUntMacGYiud+6N Wa8MIaLut1P49wC70daD7HmTI2LsjhBDBt45kueaNDrhl0T5NRRmXdkro oOLuTbl5ISPdYcuxG5OtoeY/dXIJudM2RNtKNTl+MPBzkY3W/UwSmRPPO QwK9gQW3ToWRSeodAKEFMLP7gKj0t3rS/pvdlQ1XUKe58EwD1mi6A/24s yfO6IxR5mYl/MtJQ8DUk3HrkEmH9p8g+TMmG3g8keAngTv5ubYpQ2yPJx w==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="380558185" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="380558185" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2023 04:08:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="733263022" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="733263022" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga008.jf.intel.com with ESMTP; 19 May 2023 04:08:43 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 19 May 2023 04:08:43 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Fri, 19 May 2023 04:08:43 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.42) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Fri, 19 May 2023 04:08:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNEaaKARrbXSDrqOdt986gVDJnFmL2qFQ255ozyHWM/6N8PxN8FELX0HjjBkWrlndlG/V6nl0suUr13orO9u8gflt7j/gn8H5RoajjzkapKv7936j5KLQI59nWTgvuGjEb0v5WgQ3/xcOIg0/l7Do97CnrrCUUfYDHvUvGYBfkcbTjy1fW+ioJjkPIIj2VrPsnxPJx7W/z6v5mCO3EecqEdC9xLy9HOxR/x2ig9QRaNlkrbeeojN1pZAgJy0+dUpHSEdxexfe3pgTU8rfJhN/HDPZD4NruqNUhpQ1zAMRyv4cRTAb8LXxRkcwODfW1YR5oj5vqzhT0heAcMowLzxjw== 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=jvt12XIoBJLyms9CX72/hftZLrxzYpLHK+eVRwAuAc0=; b=VG/MwFv4YKiUjsb8SzZitjlMAGaQKIs9MD5KUxTKRFAQgrH0UIhtM7HszZcrQiEqtN9Y2IQPSpXdLenRRl6bPjTAteniI/aNbR41KjzFki1Ks4nH5IGDgRTxklbckP88hskyrpi3Kl6l7viHXaEjxVe4NA7+b3D38UImkcK6HUCa2PNmDPB8zqLty+C4sMsIoZz1rYQ2nFXw5mkEUXzAKk1owDjIr4DraJXEPBPAWtweBOSiNnxUNX3vDT/lvzV/D6+qD0HvYwj0wAJKeeWUym73Z5IKCKNqi/bTdUR5qN3Z7aUiawgkLkkmiLOjnb+72whKZgNbss+yic6EGfCiuw== 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 DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by DM4PR11MB6552.namprd11.prod.outlook.com (2603:10b6:8:8f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 11:08:41 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%5]) with mapi id 15.20.6411.021; Fri, 19 May 2023 11:08:41 +0000 Message-ID: Date: Fri, 19 May 2023 12:08:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0 Subject: Re: [PATCH 3/4] test/malloc: fix missing free Content-Language: en-US To: Ruifeng Wang CC: , , , , References: <20230519042923.314670-1-ruifeng.wang@arm.com> <20230519042923.314670-4-ruifeng.wang@arm.com> From: "Burakov, Anatoly" In-Reply-To: <20230519042923.314670-4-ruifeng.wang@arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0278.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::23) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|DM4PR11MB6552:EE_ X-MS-Office365-Filtering-Correlation-Id: e25fa341-a274-4444-b4ac-08db58596765 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jhO1ZVO3pMW5oEsHRVXuq5lsaPGRF1gSXWgdubm9vKxFVKwdqlGNYTN6fO7jeF9wYhuZwqUQHPNobJO79xBEaKWnOb19q/adVn7rgKergIRjx6Zx6L6Dm8F41neWTzmPZeRr384ul8xJXCcSIxIBMobaISBfnDyYoQgb9cs7767iE/I9kXQyJmShXHyhZC4RNDFMTO+aqRDhoS26VO/krlxQ9yFadCtcnyMdCEj+igAXbTYg5h+XW0UjfRzieh5Ov/91YoRC8WtEAFmbBizXrNIskCmBKJCkZJLkafJyBuej0RKWj5zuPheToq/1nxXNz3IdcyOItqkC5rmcszhBUZ6dFAa6hsJrE+QXPY9FMiZGo6p7V0AmVHnl28D8Ftx0ALEDhglBqScM2YCRUYN/zE0wNsVmRJUebr/ihneIIWnGUfWnmK7VXcTg329VSS++M8ZsoUUCNtmlIU/zVbAK5GCb1M1odX4RV6LLbX0NwmIdsu/pQ+cHJo/bz+S+NhpktjKXkY3aHugJjcoVluSdGOVaiU5M0AIdBhqgsLzyOFCSt2T6+XE9ZGfXRWLjbmoRUrQak4CXJbnDBLWNtt5Ai97RJGPu8KcXoL23TwrJHgiu1xsO5cP0RJrGLTLyYBjeOXacFlaX8atmCnhExCFokQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199021)(6666004)(6486002)(41300700001)(26005)(6506007)(6512007)(53546011)(38100700002)(5660300002)(2616005)(36756003)(83380400001)(186003)(2906002)(86362001)(31696002)(4744005)(8676002)(8936002)(82960400001)(478600001)(6916009)(66946007)(66556008)(66476007)(4326008)(31686004)(316002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bGJRNlVFaFBaVktHTkZ2ZHQwblEzRFE0WnEvaXJrTVpZeVNGbVAxR24yNEx4?= =?utf-8?B?YkZzWGcwQTlEUk1FcUFhbDcwUGV2bFBCc2FXK1hzcXVJS0hnRTZGY0xrSVlJ?= =?utf-8?B?djFEbXFIN0F5N3BtdDdSZlc4WXh6Z1UrUU42UytwWTVvODhyNjBpYkdnUUFv?= =?utf-8?B?WFZKREptb056V1lKV3ZxcGhHUHQyaWlEN1ZRdVZZRHpzYmIwM0dsZmRHSktY?= =?utf-8?B?YzNGZDVoWlh1T0REV2VlYnRDbStZVU5Ia1F0ZnpyWWlxeEd1dXROdHJnSi9I?= =?utf-8?B?MTRwbUpycUYrTk54dmdKbVlQVko3bmwvbjBwTTEwWlhESkkveXRBWXd4RUtJ?= =?utf-8?B?UFhQQjc4Mk1CUWxOMXh3VHUzVmsyZHAvMmxkTGwveGluTENMTmJBU01vS2No?= =?utf-8?B?cEF5UnlxSGZwbTZEUFA2ZXBlNjhOTk1GUkgrYkF6UlhSWWFpejZzemZMNWgy?= =?utf-8?B?N05OZ3RqMnkrWFQyR0h4eWV2Y2pVRDgwWlg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mFrNkYzZ2dOZVF4aCtzV1UyY0FjWktRQUVv?= =?utf-8?B?cHRDdWRYZFNUYWtFMkhlUEJBWTc5dlVGT2ZDMVJtcFhVTW5jSUt5YW1mWlhQ?= =?utf-8?B?U0s0VzVUME5Nc3VxS25rSkVuVUN0eEFWMHN6WEdmeldUYnByTE5QOHNHd3dI?= =?utf-8?B?cVNPMXlielVGWFJZZG5LTFY3bjJwNk83LzlkK0FHV1plNEJvL2MrSXhNd0Js?= =?utf-8?B?dVFmWXRqODQ5SjZtcjFSMExVUTJEa1NBa1kzMCtabjJNb3RoK3VoMDNpenVl?= =?utf-8?B?UVg4aTExeEwrb1RtQXA1ekdFcU02UThubnVvblR5dXpXNmU2T1pKTEdLNzVK?= =?utf-8?B?UXBPSm1Gc3JXdjhVN2dMbVNyOUZPVjdmRXdibFJRQUkvbytVMDhwbzJEZXlq?= =?utf-8?B?d0pSaHYyMmN1QmVkekxwZm5jVnBHZElhbGtHT1FKMytWNDF2Rmt2SnNsanVz?= =?utf-8?B?RDY5Q1pRejFvZzVBclE5QUZXOFRsV0xxZ1hXczhFZldhYnZJVWswUTlJUi9y?= =?utf-8?B?V1pabkl5ZHdXZENSRnRzU05BRlJuZGlTM0NuUzk4VzE5MUE1Zk53NXk3R0NH?= =?utf-8?B?bVRsdnlqTThHQVBjb3FyRnBBeGp4bXEvZ2xzeXZkODJxcXNhTy80UElSWnBF?= =?utf-8?B?L0kzNEhadFJrR1Bham9XSFRiM1NNTDUrMXBMZDIrWEY0VXRkU3hnVEg2bXVl?= =?utf-8?B?Qml3UWZYaGR1R2U1aXFJOGF5ZDJCRU5tcDlmN1FGZEhHalphVE1NV2VKc082?= =?utf-8?B?bFE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: e25fa341-a274-4444-b4ac-08db58596765 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 11:08:41.5342 (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: stLxGREecwa4C7UOevWXWvTB1CoNYHd2I7JbRLt+qwGunwBaNxbYCFsCcVk5Z1REVykZuDwaKzAY2KiQk8nzmGIsYTKSguRQPC4XuZCAQQs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6552 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 5/19/2023 5:29 AM, Ruifeng Wang wrote: > Free the allocated buffer before returning. > > Fixes: a40a1f8231b4 ("app: various tests update") > Cc: stable@dpdk.org > > Signed-off-by: Ruifeng Wang > Reviewed-by: Feifei Wang > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly