[vlc-commits] Decklink: Fix memory leak
Marvin Scholz
git at videolan.org
Mon Oct 22 18:47:19 CEST 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Oct 22 09:27:42 2018 +0200| [4ac456c49a192fa162dcc13b92f21e092babf464] | committer: Marvin Scholz
Decklink: Fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ac456c49a192fa162dcc13b92f21e092babf464
---
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);
More information about the vlc-commits
mailing list