mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 14:31:09 +00:00
tools/target_dem_fuzzer: use avio_context_free() to free the fuzzer's AVIOContext
The doxy for avio_alloc_context() states it must be used for this. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
8918a3dfa2
commit
40dfb4328d
@ -202,7 +202,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
}
|
||||
end:
|
||||
av_freep(&fuzzed_pb->buffer);
|
||||
av_freep(&fuzzed_pb);
|
||||
avio_context_free(&fuzzed_pb);
|
||||
avformat_close_input(&avfmt);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user