[FFmpeg-cvslog] [ffmpeg] branch master updated. 870cfed231 avformat/aviobuf: Free white/black list in avio_context_free()
ffmpeg-git at ffmpeg.org
ffmpeg-git at ffmpeg.org
Wed Aug 13 12:47:05 EEST 2025
The branch, master has been updated
via 870cfed2317e311a71bc14773332486a162f059c (commit)
from b61e510e7500c27c7dee2b9c8cfa77689195f2a0 (commit)
- Log -----------------------------------------------------------------
commit 870cfed2317e311a71bc14773332486a162f059c
Author: Andy Nguyen <theflow at google.com>
AuthorDate: Wed Aug 13 01:51:10 2025 +0200
Commit: michaelni <michael at niedermayer.cc>
CommitDate: Wed Aug 13 09:46:36 2025 +0000
avformat/aviobuf: Free white/black list in avio_context_free()
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 6a74c1ce68..34743556ae 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -125,6 +125,11 @@ AVIOContext *avio_alloc_context(
void avio_context_free(AVIOContext **ps)
{
+ if (ps && *ps) {
+ AVIOContext *s = *ps;
+ av_freep(&s->protocol_whitelist);
+ av_freep(&s->protocol_blacklist);
+ }
av_freep(ps);
}
-----------------------------------------------------------------------
Summary of changes:
libavformat/aviobuf.c | 5 +++++
1 file changed, 5 insertions(+)
hooks/post-receive
--
More information about the ffmpeg-cvslog
mailing list