ivi-shell: clean up remaining ivisurface during de-init
Signed-off-by: Harsha M M <harsha.manjulamallikarjun@in.bosch.com>
This commit is contained in:
parent
9b94a7d833
commit
1b470f96d2
@ -347,6 +347,8 @@ shell_destroy(struct wl_listener *listener, void *data)
|
||||
wl_list_remove(&shell->wake_listener.link);
|
||||
|
||||
wl_list_for_each_safe(ivisurf, next, &shell->ivi_surface_list, link) {
|
||||
if (ivisurf->layout_surface != NULL)
|
||||
layout_surface_cleanup(ivisurf);
|
||||
wl_list_remove(&ivisurf->link);
|
||||
free(ivisurf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user