Use correct pointer for SysFreeString.
This commit is contained in:
parent
a66d2a2cbf
commit
236ad0df3c
|
@ -466,8 +466,9 @@ serialize_param(
|
|||
return hres;
|
||||
}
|
||||
}
|
||||
|
||||
if (dealloc && arg)
|
||||
SysFreeString((BSTR)arg);
|
||||
SysFreeString((BSTR)*arg);
|
||||
return S_OK;
|
||||
}
|
||||
case VT_PTR: {
|
||||
|
|
Loading…
Reference in New Issue