ole32: Remove superfluous NULL pointer check before free (Smatch).
This commit is contained in:
parent
60bef14094
commit
55d811351a
|
@ -2953,7 +2953,6 @@ HRESULT WINAPI PropVariantClear(PROPVARIANT * pvar) /* [in/out] */
|
||||||
CoTaskMemFree(pvar->u.blob.pBlobData);
|
CoTaskMemFree(pvar->u.blob.pBlobData);
|
||||||
break;
|
break;
|
||||||
case VT_BSTR:
|
case VT_BSTR:
|
||||||
if (pvar->u.bstrVal)
|
|
||||||
PropSysFreeString(pvar->u.bstrVal);
|
PropSysFreeString(pvar->u.bstrVal);
|
||||||
break;
|
break;
|
||||||
case VT_CF:
|
case VT_CF:
|
||||||
|
|
Loading…
Reference in New Issue