From d116b7fec52ca211df9e928ca449fcf498d320e9 Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Mon, 14 Nov 2005 15:42:57 +0000 Subject: [PATCH] backport of r13238 --- activex/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/activex/utils.cpp b/activex/utils.cpp index 80c4fd5a74..571e75aec2 100644 --- a/activex/utils.cpp +++ b/activex/utils.cpp @@ -82,6 +82,7 @@ HRESULT GetObjectProperty(LPUNKNOWN object, DISPID dispID, VARIANT& v) { DISPPARAMS dispparamsNoArgs = {NULL, NULL, 0, 0}; VARIANT vres; + VariantInit(&vres); hr = pDisp->Invoke(dispID, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_PROPERTYGET, &dispparamsNoArgs, &vres, NULL, NULL); if( SUCCEEDED(hr) ) -- 2.39.2