From patchwork Fri Nov 25 14:27:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 39440 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp5410472pzb; Fri, 25 Nov 2022 06:27:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zLsEbcZph1gC8UFWHeX4xRHYXD02IfkBB8zlZyuxxw7ppbNp0bLGRkIuTicxguTGGNZ3z X-Received: by 2002:a17:907:a093:b0:7bc:876b:4c6d with SMTP id hu19-20020a170907a09300b007bc876b4c6dmr3009033ejc.338.1669386454498; Fri, 25 Nov 2022 06:27:34 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y8-20020a056402440800b00461a144e980si3704041eda.379.2022.11.25.06.27.34; Fri, 25 Nov 2022 06:27:34 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=Y4VQoTyh; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F07F168BC7D; Fri, 25 Nov 2022 16:27:31 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2052.outbound.protection.outlook.com [40.92.91.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5620368B937 for ; Fri, 25 Nov 2022 16:27:25 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jxR20X96n+a45HC4a44eXylUuZsQ4PUheDIXZ6YsJpR2BiBnScQ6TdWco2U2+mcEPPO4Fwgp6sUO7BhwY0GSu+S6b3KyDTVfcMtDyBqN3jDl5guHfCOPEyzl2Mbrm4xsgLk9UmTgJTmarUsf06mFnrHRINM5Ur+rMhEMje/exm/1PS1gmG5XbcxyZZI/bVk2t/LXYQtGHySJ6/cWUHVoOqR/m3qO0nzkdceoy71YC9bsdvLvhtZKyqWSOaTj6eOSEr12PYT1Ukaj7rkWnDa/NGaPLN4NQHTeHS3iGL7Sas+j2nFY/I9Xb01aRSKZnfgClh20Xg9nSQw1k4LC8t6Ftg== 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=XaNNOHdN7s3cNvMtBW7a56+60xWjCFGXvDWVOwRfVnI=; b=UvF+A6f0DMc3ZIOsJTo0/rRQFXu0a9kK3/lA5X1dPWQN9dMnRcQlpETKi375IuqohWR7KcH0Z8gmTv2lbZPlgadjiYAyKZTDoXwlgkMpNmAZDlqNTgeKM8J17MB5+aFaweR7tFVc1+cwW5rr4QC7qfe+vPEjSy5bKZsMesbz6PPC967zdkxqPqdHvgORpsnM6VJs+uooyb8CTol3R+9Qe41gYTGKIgaPNpcryUEjn2P8hcp6P1JfNovlW0tQE1EK9wTQl8wPw+IPYHTH7jVR49JkLW9xN0KTdoGku7pYFby61qOGU7C2UvhHS4+4uT77HcCQ9Ro/vPJdoGe76toBAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XaNNOHdN7s3cNvMtBW7a56+60xWjCFGXvDWVOwRfVnI=; b=Y4VQoTyhXOYMlNVQ4hroPCwqEeyoeEFeszKwYhQ9v0NO4q9cLIopmlLwlHz5i2Wu+Xdi6T2We8UiyDUM40gD7hqK66XNJhllXEbOw3C1UBljARMgEH7cdzPasJG3m7pC7jfjfcShJM+IM9CBv5Bf9zuSG5cCoBIrpDAQVYACgmLhcw8c10qcjYwHzp5NAK1Ez4HMiG6bELgoHOQROavDSGS+kND0f64nHDTp1jcVaC1Vn4Y2fBh9RpoWJHLNlHmc9JGh4wx58jYHod9LcbS4kFvxPwH7oVSmJweKvw96K5yTRIOADsVtnCL1ix+raTGHVp43d4hNSgxJmvBmXpzKiQ== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by AS1P250MB0408.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:4aa::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Fri, 25 Nov 2022 14:27:23 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::c37:cabe:316a:60b2]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::c37:cabe:316a:60b2%4]) with mapi id 15.20.5834.015; Fri, 25 Nov 2022 14:27:23 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 25 Nov 2022 15:27:36 +0100 Message-ID: X-Mailer: git-send-email 2.34.1 X-TMN: [QrPvayfGSrjn+yKlEfEfLaALHCdh3q8ZNP4JXNjlFf8=] X-ClientProxiedBy: FR2P281CA0048.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:92::19) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20221125142736.1080318-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|AS1P250MB0408:EE_ X-MS-Office365-Filtering-Correlation-Id: 94a4f9b3-5bdf-49fd-c2ef-08dacef12a70 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmoMTHls4qxpPDRh2AMUI8C6lQvnLrR5tfQRB16vbH+82HMUQ7uCSZsRH9ou/ej3XlWEema5zimlzzCyk0P1Ld93YEwKIpHTmMdEwpQquWTuXhDI5ZxeENkbdhZhGf9bJIJsnOoMXVFBLlMWyxCpcexzYzwUjdwxJ50EiZV2aCVbKigp8gN3bqmlaFmmcwVCBEtOMl8MK+VggvyPcv7X6P1LlgbwDtAzFF+IVEF6X/p09mlng6yLDlgh/8aZ5y74yZr7szbFcrt0arLTfntLTWWqQpENfy9LTPpuz1+4Z8RfY5RnX7Rx4yL7T2zcakCPePjyU3meLvNO1gxx1Kz9X6YVwj+k2b/41y4G27U3G0pE2zs5SDsNHr23S5eMtd+/O4hYP9d5ym9+kVkb4dUxvVBmWevZ+v9MkL0qldGXuMnanhYb2dhA7OKs+uXDlPNNIx6KA/ED3HF6zv88YIimAnWH6g0xSHMiyXk+/ISUpXPnNKMzJjjvtp2eqvvMz6eOLCwW0V/WOECdzGqACJ9CAkAx0Gd2jNKQv7m9v+Yu/BsjsWd1/MtM3DTJ+qQyXPNp7VJNBFm+QV9RqgihlwQvhAsI1lZZnSr6N0zYB9aUmFbeTsszU38dmGYxEzRllqi6xb/AiaYjHijlne6vssCaZEy+jw7cKKDIGc1W9UtD8hs0FXAw+B/XhG0IrTmheyNK8hXKBi+UrZKv5Cout6Zi2U7WzuvtrBAl0K/sPS1EkeJFDiHi1nkzOvAd4LKRROFzul0= X-Microsoft-Antispam: BCL:0; X-Micro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10sM2syZdX816dZeUlXghe/lo1+q3EYZMSfTDmCjs5T55XpvBBcfzcnh7s/HSz4V+n/4dMW8RzDZ7t67FQrdAGawCJHTpndiuxeOwqYSPsStJaBKgl142Pw3+mO4J57J3x0KwdeC6S/pvBy13NEAPupnqVcMR7wWQ61Nbks7y79c1tic1uoZtyLJ9fsHbPHlTzrbjisVtffVpL9Mma9yQo09wwZrKtoH2czHDb6V8eLhCL3YJ+Fg+8oS7HUlg10zmwXfhXQafiP46uahuLZai88xvuXw/5b4vkDS7k6XEJ1KZKN9iK6L2UgEYtbWOXLlIfqbPPwbzgFf2Vv8s6qOTj7Y5TSvWMWEiROfpchZ/NpIemip+5OdTtvES53gR3hvy3rmCul4cYfflxw6iBu2nIC3MCcFfX30Ahyyy3JLBYnqzuPq7SOrTS1sByL64tPrCuVbgMEzXs08RdLFTiDi6HGjHh7gHbou5kILP4IZ8WVargLgmzbklQzoCiUOwfStAcN1s17dnOCFx8sE5XlTDATsP1a0MgDittfR7pKXpVqsacl9dT9YFs9Zj2TkOPAeb2dUoZVSQQJnxmNMfvlIvts8y3jzXVGqJew0HESSGLM/UF02t92d95onQvOt4QNHItuvmaWp9R1kfUV7Rl92U6SUXGADRa9X5KEgAPxcuaCDWJ2E2IxviZK3vyKEYBXnI+VXPuoyi2BnUje4HpvImi1Vnbsrvr5JNtU9uc7gZkh4CsNOJJxr2Z4OZF5+kbN2K0hCfa3QcrKYhvGKsSOFJ/97B1YT6MD8OT42mNR1bzTXuHKzdpcwtBZHP3xOreCFPIRd+ekJvIniRXdttdehoJqxFrHJpErlehbHYuMp1hv7PZflsWklPngMpj43jCT2rPqWczvccAYnxc43BFbVgAHPzmY5Zb6e7tQGP+FJVn6RtekX5m9yMzPgMqn7C X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94a4f9b3-5bdf-49fd-c2ef-08dacef12a70 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2022 14:27:23.8010 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P250MB0408 Subject: [FFmpeg-devel] [PATCH] avutil/tx: Use proper deallocator X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: TAeu58+yGbnO May fix the FATE failures on x64 Windows here: https://fate.ffmpeg.org/report.cgi?slot=x86_64-msvc17-windows-native&time=20221125130443 Signed-off-by: Andreas Rheinhardt --- libavutil/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/tx.c b/libavutil/tx.c index c692239656..e25abf998f 100644 --- a/libavutil/tx.c +++ b/libavutil/tx.c @@ -857,7 +857,7 @@ av_cold int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type, for (int i = 0; i < len; i++) sctx->map[tmp[i]] = i; - free(tmp); + av_free(tmp); } s->nb_sub++;