windowscodecs: Remove redundant NULL check before HeapFree (Smatch).

oldstable
Michael Stefaniuc 2009-10-10 01:05:10 +02:00 committed by Alexandre Julliard
parent 72fab20ffe
commit 13ad5d1725
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ static HRESULT WINAPI PngFrameEncode_WritePixels(IWICBitmapFrameEncode *iface,
/* set up setjmp/longjmp error handling */
if (setjmp(png_jmpbuf(This->png_ptr)))
{
if (row_pointers) HeapFree(GetProcessHeap(), 0, row_pointers);
HeapFree(GetProcessHeap(), 0, row_pointers);
return E_FAIL;
}