avformat/aviobuf: Free white/black list in avio_context_free()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user