Skip to content
  • darnuria's avatar
    gegl: Use of memory after it is freed in gegl_color_get_components. · a4afb4b9
    darnuria authored and Øyvind "pippin" Kolås's avatar Øyvind "pippin" Kolås committed
    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;
          ^~~~~~~~~~~~~
    ```
    a4afb4b9