app/core prevent memory leak
This commit is contained in:
parent
162725bd8c
commit
d261d466e9
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue