oleaut32: Clear any existing interface before calling WdtpInterfacePointer_UserUnmars...
commit9ed47775d6a789f0c397c622279ab861a3e8425f
authorHuw Davies <huw@codeweavers.com>
Tue, 27 Oct 2015 14:42:30 +0000 (27 14:42 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 27 Oct 2015 15:58:13 +0000 (28 00:58 +0900)
tree43cbe9577e7f986355375d5149fa2df3f702af6a
parentc820139b0f8f3099cffbdd39e5bac6cf642f018e
oleaut32: Clear any existing interface before calling WdtpInterfacePointer_UserUnmarshal().

The code has already called VariantClear() which has released the
interface yet not set it to NULL.  This is to prevent a double-release
after a forthcoming patch to WdtpInterfacePointer_UserUnmarshal().

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/oleaut32/usrmarshal.c