summaryrefslogtreecommitdiffstats
path: root/tools/scale_slice_test.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2025-08-02 23:28:48 +0000
committerMichael Niedermayer <[email protected]>2025-08-04 01:29:44 +0200
commit9ca58424ded24e931fed329174c28244b67d5670 (patch)
treeccb37973e701d10e9240c201d6b852c1e9b8941f /tools/scale_slice_test.c
parentab040e25657436e88a62624b3751a583dfe4e123 (diff)
examples: Add av_freep to avoid potential memory leak
Add av_freep() to free avio_ctx_buffer if avio_alloc_context fails to avoid potential memory leak. Fixes: 5fc4dea39c ("examples: add avio_reading.c example") Signed-off-by: Jiasheng Jiang <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'tools/scale_slice_test.c')
0 files changed, 0 insertions, 0 deletions