diff options
author | James Almer <jamrial@gmail.com> | 2021-02-17 20:57:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-02-17 20:57:33 -0300 |
commit | 1371647fc381774d40b8beecf69604331262172d (patch) | |
tree | 53484572875db759e58f90cb3fb1178f09b87d88 /tests | |
parent | 5a9aebac91e225440fd5f30897b88d6bdf265813 (diff) | |
download | ffmpeg-1371647fc381774d40b8beecf69604331262172d.tar.gz |
checkasm/sw_scale: use av_free() instead of free()
Fixes crashes on Win64
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/sw_scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index 6a95546ba6..7504f8b45f 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -127,8 +127,8 @@ static void check_yuv2yuvX(void) bench_new((const int16_t*)vFilterData, filter_sizes[fsi], src, dst1, dstW - osi, dither, osi); } } - free(src); - free(vFilterData); + av_freep(&src); + av_freep(&vFilterData); } } } |