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:
Andreas Rheinhardt 2025-12-19 08:38:03 +01:00
parent 34bc95ddfc
commit b934dd1d4b

View file

@ -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)