[vlc-devel] [PATCH 2/5] Decklink: Fix memory leak
Marvin Scholz
epirat07 at gmail.com
Mon Oct 22 10:11:18 CEST 2018
---
modules/access/decklink.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/decklink.cpp b/modules/access/decklink.cpp
index 66d9c85108..02b321d0da 100644
--- a/modules/access/decklink.cpp
+++ b/modules/access/decklink.cpp
@@ -267,7 +267,7 @@ public:
mode_name = strdup("unknown");
} else {
mode_name = DECKLINK_STRDUP(tmp_name);
- DECKLINK_STRDUP(tmp_name);
+ DECKLINK_FREE(tmp_name);
}
msg_Dbg(demux_, "Video input format changed to %s", mode_name);
--
2.19.1
More information about the vlc-devel
mailing list