Re: [PATCH] ivi-layout : clear on_layer when layer_destroy

2016-04-12 Thread Pekka Paalanen
On Mon, 11 Apr 2016 21:34:52 +0900 Wataru Natsume wrote: > 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: Wataru Natsume > --- > ivi-shell/ivi-layout.c |1 + > 1 file changed, 1 inserti

[PATCH] ivi-layout : clear on_layer when layer_destroy

2016-04-11 Thread Wataru Natsume
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: Wataru Natsume --- ivi-shell/ivi-layout.c |1 + 1 file changed, 1 insertion(+) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index