From 52b1b3df595df6318289a34f820edb2509b304d8 Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Sun, 28 Sep 2025 12:59:53 +0200 Subject: [PATCH] access: decklink: fix opt leak (cherry picked from commit 9f54ff720b6a67b0b63020e39a5527dc5841e38f) --- modules/access/decklink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp index 42323b5c1b..6bb97a9158 100644 --- a/modules/access/decklink.cpp +++ b/modules/access/decklink.cpp @@ -437,6 +437,7 @@ static int GetAudioConn(demux_t *demux) return VLC_EGENERIC; } + free(opt); if (sys->config->SetInt(bmdDeckLinkConfigAudioInputConnection, c) != S_OK) { msg_Err(demux, "Failed to set audio input connection"); return VLC_EGENERIC;