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).