windowscodecs: Fix interlaced PNG writing.

Sebastian Lackner sebastian at fds-team.de
Fri Jun 20 15:29:31 CDT 2014


Am 20.06.2014 22:15, schrieb Vincent Povirk:
> +        row_pointers = HeapAlloc(GetProcessHeap(), 0, This->height * sizeof(png_byte*));
> +        if (!row_pointers)
> +        {
> +            LeaveCriticalSection(&This->lock);
> +            return E_OUTOFMEMORY;
> +        }

There should be a corresponding HeapFree( ... ) to release row_pointers
again.



More information about the wine-devel mailing list