bin-layout: Fix a leak
https://bugzilla.gnome.org/show_bug.cgi?id=655342
This commit is contained in:
parent
78049c38bf
commit
0f8e3ab4aa
@ -359,6 +359,8 @@ clutter_bin_layout_get_preferred_width (ClutterLayoutManager *manager,
|
|||||||
|
|
||||||
if (nat_width_p)
|
if (nat_width_p)
|
||||||
*nat_width_p = nat_width;
|
*nat_width_p = nat_width;
|
||||||
|
|
||||||
|
g_list_free (children);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -392,6 +394,8 @@ clutter_bin_layout_get_preferred_height (ClutterLayoutManager *manager,
|
|||||||
|
|
||||||
if (nat_height_p)
|
if (nat_height_p)
|
||||||
*nat_height_p = nat_height;
|
*nat_height_p = nat_height;
|
||||||
|
|
||||||
|
g_list_free (children);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gdouble
|
static gdouble
|
||||||
|
Loading…
Reference in New Issue
Block a user