aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2025-07-01 16:58:42 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2025-07-03 22:18:10 +0200
commitb92130293e8c802d228bdc2fcaa31cbaea00988e (patch)
tree25b7647183b98582d8ba617c003380a6f73ba130
parent8f3ecc9db09ebd68455565ee06a49c9a564dacac (diff)
downloadffmpeg-b92130293e8c802d228bdc2fcaa31cbaea00988e.tar.gz
avformat/whip: don't leak options dict
-rw-r--r--libavformat/whip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/whip.c b/libavformat/whip.c
index a6cdccc21c..a1cf8aff1b 100644
--- a/libavformat/whip.c
+++ b/libavformat/whip.c
@@ -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);