app/core prevent memory leak

This commit is contained in:
lillolollo 2025-08-15 12:02:43 +00:00 committed by Jacob Boerema
parent 162725bd8c
commit d261d466e9

View file

@ -2361,6 +2361,8 @@ select_colors_gray (QuantizeObj *quantobj,
/* Compute the representative color for each box, fill colormap */
for (i = 0; i < numboxes; i++)
compute_color_gray (quantobj, histogram, boxlist + i, i);
g_free (boxlist);
}