diff options
author | Yong Lei <leiyong@gmail.com> | 2016-05-17 13:21:45 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-18 00:51:52 +0200 |
commit | 7bacf7453665b63ab9e2c496f82e49d9340679ba (patch) | |
tree | 6f59c698774f3200b28ff29b35f8fb8bfa6b0564 | |
parent | 2875745d354ab0ebc4af1ebaca5c5a8d26ccdc03 (diff) | |
download | ffmpeg-7bacf7453665b63ab9e2c496f82e49d9340679ba.tar.gz |
avformat/avio: fix memory leak in url_find_protocol
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/avio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |