Commit 7b3a52ab authored by Wataru Natsume's avatar Wataru Natsume Committed by Pekka Paalanen

ivi-layout: clear on_layer when layer_destroy

On_layer of ivi_layout_surface should be NULL in the layer_destroy.
Previous code might access to removed ivilayer and cause SEGV.
Signed-off-by: default avatarWataru Natsume <>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 48fbb549
......@@ -914,6 +914,7 @@ clear_surface_order_list(struct ivi_layout_layer *ivilayer)
&ivilayer->order.surface_list, {
surface_link->on_layer = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment