diff --git a/app/operations/layer-modes/gimpblendcomposite.h b/app/operations/layer-modes/gimpblendcomposite.h index 88a0ff44ce..0feb5dc9a3 100644 --- a/app/operations/layer-modes/gimpblendcomposite.h +++ b/app/operations/layer-modes/gimpblendcomposite.h @@ -318,7 +318,7 @@ gimp_composite_blend (gfloat *in, if (composite_mode == GIMP_LAYER_COMPOSITE_SRC_OVER || composite_mode == GIMP_LAYER_COMPOSITE_SRC_ATOP) { - if (composite_in == in) + if (composite_in == in && in != out) composite_in = g_alloca (sizeof (gfloat) * 4 * samples); babl_process (fish_to_composite,