mirror of https://github.com/GNOME/gimp.git
app: fix memory leak reported by Massimo.
This commit is contained in:
parent
abb904d64d
commit
4336b7a8e3
|
@ -540,8 +540,11 @@ gimp_pickable_contiguous_region_by_line_art (GimpPickable *pickable,
|
|||
{
|
||||
mask[c->x + c->y * width] = 1.0;
|
||||
if (c->level >= line_art_max_grow)
|
||||
/* Do not overflood under line arts. */
|
||||
continue;
|
||||
{
|
||||
/* Do not overflood under line arts. */
|
||||
g_free (c);
|
||||
continue;
|
||||
}
|
||||
if (c->x > 0)
|
||||
{
|
||||
nx = c->x - 1;
|
||||
|
|
Loading…
Reference in New Issue