Issue #10814: [Color Space Invasion] crash in channel_get_color_invoker.

This commit is contained in:
Jehan 2024-02-13 23:25:41 +01:00
parent aaa75e3674
commit d945e12ccc
2 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ channel_get_color_invoker (GimpProcedure *procedure,
if (success) if (success)
{ {
color = gimp_channel_get_color (channel); color = gegl_color_duplicate (gimp_channel_get_color (channel));
gimp_color_set_alpha (color, 1.0); gimp_color_set_alpha (color, 1.0);
} }

View File

@ -328,7 +328,7 @@ HELP
%invoke = ( %invoke = (
code => <<'CODE' code => <<'CODE'
{ {
color = gimp_channel_get_color (channel); color = gegl_color_duplicate (gimp_channel_get_color (channel));
gimp_color_set_alpha (color, 1.0); gimp_color_set_alpha (color, 1.0);
} }
CODE CODE