checkasm/sw_scale: use av_free() instead of free()

Fixes crashes on Win64

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2021-02-17 20:57:33 -03:00
parent 5a9aebac91
commit 1371647fc3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}