diff --git a/libavformat/avio.c b/libavformat/avio.c index 65075932ae..efde5f30e4 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename) return up; } } + av_freep(&protocols); return NULL; }