You've already forked FFmpeg
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:
@ -1303,6 +1303,7 @@ next_packet:
|
|||||||
/* If got the first binding response, start DTLS handshake. */
|
/* If got the first binding response, start DTLS handshake. */
|
||||||
ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE, &s->interrupt_callback,
|
ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE, &s->interrupt_callback,
|
||||||
&opts, s->protocol_whitelist, s->protocol_blacklist, NULL);
|
&opts, s->protocol_whitelist, s->protocol_blacklist, NULL);
|
||||||
|
av_dict_free(&opts);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto end;
|
goto end;
|
||||||
dtls_initialize(s);
|
dtls_initialize(s);
|
||||||
|
Reference in New Issue
Block a user