1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformat/whip: don't leak options dict

This commit is contained in:
Timo Rothenpieler
2025-07-01 16:58:42 +02:00
parent 8f3ecc9db0
commit b92130293e

View File

@ -1303,6 +1303,7 @@ next_packet:
/* If got the first binding response, start DTLS handshake. */
ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE, &s->interrupt_callback,
&opts, s->protocol_whitelist, s->protocol_blacklist, NULL);
av_dict_free(&opts);
if (ret < 0)
goto end;
dtls_initialize(s);