avformat/whip: Fix leak of dtls_fingerprint
Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Reviewed-by: Jack Lau <jacklau1222gm@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
34bc95ddfc
commit
b934dd1d4b
1 changed files with 1 additions and 0 deletions
|
|
@ -1982,6 +1982,7 @@ static av_cold void whip_deinit(AVFormatContext *s)
|
|||
ff_srtp_free(&whip->srtp_recv);
|
||||
ffurl_close(whip->dtls_uc);
|
||||
ffurl_closep(&whip->udp);
|
||||
av_freep(&whip->dtls_fingerprint);
|
||||
}
|
||||
|
||||
static int whip_check_bitstream(AVFormatContext *s, AVStream *st, const AVPacket *pkt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue