ole32: Remove superfluous NULL pointer check before free (Smatch).

This commit is contained in:
Michael Stefaniuc 2012-08-01 01:14:56 +02:00 committed by Alexandre Julliard
parent 60bef14094
commit 55d811351a
1 changed files with 1 additions and 2 deletions

View File

@ -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: