Robert Shearman : oleaut32:
Check the return value from VariantCopy when copying values
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 5 15:24:19 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 6c6ce70260c0b3fd2ad5c61a318c1a2ccae8c102
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6c6ce70260c0b3fd2ad5c61a318c1a2ccae8c102
Author: Robert Shearman <rob at codeweavers.com>
Date: Wed May 3 22:22:27 2006 +0100
oleaut32: Check the return value from VariantCopy when copying values
for VT_VARIANT typed parameters for ITypeInfo::Invoke.
---
dlls/oleaut32/typelib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 9902cf9..0eb48b4 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -5239,7 +5239,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke
dump_Variant(src_arg);
if (rgvt[i] == VT_VARIANT)
- VariantCopy(&rgvarg[i], src_arg);
+ hres = VariantCopy(&rgvarg[i], src_arg);
else if (rgvt[i] == (VT_VARIANT | VT_BYREF))
{
if (rgvt[i] == V_VT(src_arg))
More information about the wine-cvs
mailing list