ole32: Remove a redundant NULL check before CoTaskMemFree().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-08 10:13:13 +02:00 committed by Alexandre Julliard
parent 7c8832b23a
commit 66f13236fe
1 changed files with 1 additions and 2 deletions

View File

@ -2713,8 +2713,7 @@ static void OLE_FreeClipDataArray(ULONG count, CLIPDATA * pClipDataArray)
{
ULONG i;
for (i = 0; i < count; i++)
if (pClipDataArray[i].pClipData)
CoTaskMemFree(pClipDataArray[i].pClipData);
CoTaskMemFree(pClipDataArray[i].pClipData);
}
/***********************************************************************