ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Tue Jul  
1 16:58:42 2025 +0200| [b92130293e8c802d228bdc2fcaa31cbaea00988e] | committer: 
Timo Rothenpieler

avformat/whip: don't leak options dict

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b92130293e8c802d228bdc2fcaa31cbaea00988e
---

 libavformat/whip.c | 1 +
 1 file changed, 1 insertion(+)

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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to