Dmitry Timoshkov : windowscodecs: Fix a copy/paste mistake.
Module: wine Branch: master Commit: aaddf1365a3371263827206eedf1464a83562c00 URL: http://source.winehq.org/git/wine.git/?a=commit;h=aaddf1365a3371263827206eed... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Thu Apr 7 09:00:32 2016 +0200 windowscodecs: Fix a copy/paste mistake. Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/windowscodecs/pngformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c index 4f5cb94..cd9165b 100644 --- a/dlls/windowscodecs/pngformat.c +++ b/dlls/windowscodecs/pngformat.c @@ -532,7 +532,7 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p } 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); This->png_ptr = NULL;
participants (1)
-
Alexandre Julliard