bin-layout: Fix a leak

https://bugzilla.gnome.org/show_bug.cgi?id=655342
This commit is contained in:
Emmanuele Bassi 2011-07-26 13:55:01 +01:00
parent 78049c38bf
commit 0f8e3ab4aa

View File

@ -359,6 +359,8 @@ clutter_bin_layout_get_preferred_width (ClutterLayoutManager *manager,
if (nat_width_p)
*nat_width_p = nat_width;
g_list_free (children);
}
static void
@ -392,6 +394,8 @@ clutter_bin_layout_get_preferred_height (ClutterLayoutManager *manager,
if (nat_height_p)
*nat_height_p = nat_height;
g_list_free (children);
}
static gdouble