Skip to content
  • Jehan's avatar
    Issue #1974: Memory leak in gimpimage.c. · 2912fe7c
    Jehan authored
    Ok my previous fix was wrong (at least for the part in the macro). This
    is a macro, not a function. So each time we write _reason, the call to
    g_strdup_printf() is reevaluated, hence data is allocated.
    The right fix is to prepend `tmp` to the list, not `_reason`.
    Thanks to Massimo for the debugging, as always!
    2912fe7c