windowscodecs: Remove redundant NULL check before HeapFree().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-01-29 20:38:08 +01:00 committed by Alexandre Julliard
parent 52066ee092
commit eb271ec4ba
1 changed files with 1 additions and 2 deletions

View File

@ -815,8 +815,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
end:
LeaveCriticalSection(&This->lock);
if (row_pointers)
HeapFree(GetProcessHeap(), 0, row_pointers);
HeapFree(GetProcessHeap(), 0, row_pointers);
return hr;
}