[vlc-commits] activex: add missing VariantClear() (refs #17521)
Daniel Amm
git at videolan.org
Sun Oct 30 01:21:11 CEST 2016
npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Sat Oct 29 17:02:04 2016 +0200| [41943d231f6e741c7e37fc16e334d65c896ef064] | committer: Jean-Baptiste Kempf
activex: add missing VariantClear() (refs #17521)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> https://code.videolan.org/videolan/npapi-vlc/commit/41943d231f6e741c7e37fc16e334d65c896ef064
---
activex/persiststreaminit.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/activex/persiststreaminit.cpp b/activex/persiststreaminit.cpp
index 60ea2de..574e423 100644
--- a/activex/persiststreaminit.cpp
+++ b/activex/persiststreaminit.cpp
@@ -81,6 +81,7 @@ public:
V_BSTR(&arg) = bstr;
VariantInit(&_v);
VariantCopy(&_v, &arg);
+ VariantClear(&arg);
};
inline const VARIANTARG *variantArg(void) const {
More information about the vlc-commits
mailing list