History

avformat/whip: don't leak options dict

Timo Rothenpieler committed 1 year ago

Commit b9213021 parent 8f3ecc91 file · +1 −0Browse files

Unified · Split

libavformat/whip.c+1−0
@@ -1303,6 +1303,7 @@ next_packet: · 1302 unmodified lines
1303 /* If got the first binding response, start DTLS handshake. */1303 /* If got the first binding response, start DTLS handshake. */
1304 ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE, &s->interrupt_callback,1304 ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE, &s->interrupt_callback,
1305 &opts, s->protocol_whitelist, s->protocol_blacklist, NULL);1305 &opts, s->protocol_whitelist, s->protocol_blacklist, NULL);
1306 av_dict_free(&opts);
1306 if (ret < 0)1307 if (ret < 0)
1307 goto end;1308 goto end;
1308 dtls_initialize(s);1309 dtls_initialize(s);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t