avformat/rtpproto: free ip filters on open error
Found by OSS-Fuzz. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
8485f7a378
commit
792a9979eb
1 changed files with 1 additions and 0 deletions
|
|
@ -379,6 +379,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
ff_ip_reset_filters(&s->filters);
|
||||||
ffurl_closep(&s->rtp_hd);
|
ffurl_closep(&s->rtp_hd);
|
||||||
ffurl_closep(&s->rtcp_hd);
|
ffurl_closep(&s->rtcp_hd);
|
||||||
ffurl_closep(&s->fec_hd);
|
ffurl_closep(&s->fec_hd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue