mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
@ -379,6 +379,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
ff_ip_reset_filters(&s->filters);
|
||||
ffurl_closep(&s->rtp_hd);
|
||||
ffurl_closep(&s->rtcp_hd);
|
||||
ffurl_closep(&s->fec_hd);
|
||||
|
Loading…
Reference in New Issue
Block a user