mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00: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
6f7afdf553
commit
f87e10c024
@ -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