Module: wine Branch: master Commit: 1a8ef0c4db497d62cf2654fab62de9edbe661917 URL: https://gitlab.winehq.org/wine/wine/-/commit/1a8ef0c4db497d62cf2654fab62de9e...
Author: Michael Stefaniuc mstefani@winehq.org Date: Wed Nov 8 19:29:01 2023 +0100
gdiplus: Remove redundant NULL check before free().
---
dlls/gdiplus/image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 1fe259f6096..d680cff9940 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -3780,9 +3780,7 @@ static void png_metadata_reader(GpBitmap *bitmap, IWICBitmapDecoder *decoder, UI
IWICMetadataReader_Release(reader); } - - if (seen_text) - heap_free(seen_text); + heap_free(seen_text);
png_add_unit_properties(frame, bitmap);