mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
Fix the leak of the GList of layers in CoglMaterial
http://bugzilla.openedhand.com/show_bug.cgi?id=1624 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
fdb66d1076
commit
8a31263274
@ -126,6 +126,7 @@ _cogl_material_free (CoglMaterial *material)
|
||||
|
||||
g_list_foreach (material->layers,
|
||||
(GFunc)cogl_handle_unref, NULL);
|
||||
g_list_free (material->layers);
|
||||
g_free (material);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user