Use of memory after it is freed in gegl_color_get_components.
Found with scan-build using:
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/sbin
[88/1269] Compiling C object gegl/libgegl-0.4.so.0.436.1.p/gegl-introspection-support.c.o
../../../gegl/gegl-introspection-support.c:142:7: warning: Use of memory after it is freed [unix.Malloc]
return result;
^~~~~~~~~~~~~