oleaut32: Properly clear VT_BSTR record.
This commit is contained in:
parent
8dddd89500
commit
378c17019e
|
@ -211,8 +211,7 @@ static HRESULT WINAPI IRecordInfoImpl_RecordClear(IRecordInfo *iface, PVOID pvEx
|
|||
var = ((PBYTE)pvExisting)+This->fields[i].offset;
|
||||
switch(This->fields[i].vt) {
|
||||
case VT_BSTR:
|
||||
/* NOTE: Windows implementation reads DWORD (len) before string,
|
||||
* but it seems to do nothing with this */
|
||||
SysFreeString(*(BSTR*)var);
|
||||
*(BSTR*)var = NULL;
|
||||
break;
|
||||
case VT_I2:
|
||||
|
|
Loading…
Reference in New Issue