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

oldstable
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,8 +2953,7 @@ HRESULT WINAPI PropVariantClear(PROPVARIANT * pvar) /* [in/out] */
CoTaskMemFree(pvar->u.blob.pBlobData);
break;
case VT_BSTR:
if (pvar->u.bstrVal)
PropSysFreeString(pvar->u.bstrVal);
PropSysFreeString(pvar->u.bstrVal);
break;
case VT_CF:
if (pvar->u.pclipdata)