diff mbox series

[FFmpeg-devel] avutil/tx: Use proper deallocator

Message ID AS8P250MB0744FAC47B4322ECE67A169A8F0E9@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 1a7efafd33b1597d218da64b08fb1144ab65822b
Headers show
Series [FFmpeg-devel] avutil/tx: Use proper deallocator | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 25, 2022, 2:27 p.m. UTC
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 <andreas.rheinhardt@outlook.com>
---
 libavutil/tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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++;