ole32: Fix a typo.

This commit is contained in:
Mike McCormack 2006-06-20 02:19:31 +09:00 committed by Alexandre Julliard
parent d18dc2561a
commit ccfa76d18e
1 changed files with 1 additions and 1 deletions

View File

@ -2699,7 +2699,7 @@ HRESULT WINAPI PropVariantCopy(PROPVARIANT *pvarDest, /* [out] */
if (pvarSrc->u.pclipdata)
{
len = pvarSrc->u.pclipdata->cbSize - sizeof(pvarSrc->u.pclipdata->ulClipFmt);
CoTaskMemAlloc(len);
pvarDest->u.pclipdata->pClipData = CoTaskMemAlloc(len);
CopyMemory(pvarDest->u.pclipdata->pClipData, pvarSrc->u.pclipdata->pClipData, len);
}
break;