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:
parent
7c8832b23a
commit
66f13236fe
|
@ -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);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue