mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/avio: fix memory leak in url_find_protocol
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2875745d35
commit
7bacf74536
|
@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
|
|||
return up;
|
||||
}
|
||||
}
|
||||
av_freep(&protocols);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue