windowscodecs: Fix a copy/paste mistake.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ee5e06591f
commit
aaddf1365a
|
@ -532,7 +532,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
|
||||||
}
|
}
|
||||||
|
|
||||||
This->end_info = ppng_create_info_struct(This->png_ptr);
|
This->end_info = ppng_create_info_struct(This->png_ptr);
|
||||||
if (!This->info_ptr)
|
if (!This->end_info)
|
||||||
{
|
{
|
||||||
ppng_destroy_read_struct(&This->png_ptr, &This->info_ptr, NULL);
|
ppng_destroy_read_struct(&This->png_ptr, &This->info_ptr, NULL);
|
||||||
This->png_ptr = NULL;
|
This->png_ptr = NULL;
|
||||||
|
|
Loading…
Reference in New Issue