Feb. 26, 2024
7:05 p.m.
Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/image.c:
+ else if (IsEqualGUID(&guid, &LevelsEffectGuid)) + { + type = LevelsEffect; + } + else if (IsEqualGUID(&guid, &ColorCurveEffectGuid)) + { + type = ColorCurveEffect; + } + else + { + *effect = NULL; + return Win32Error; + }
- return NotImplemented; + ef = malloc(sizeof(CGpEffect)); Should check for NULL result (out of memory).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4661#note_62694