Commit aaddf136 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

windowscodecs: Fix a copy/paste mistake.

parent ee5e0659
...@@ -532,7 +532,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment