diff options
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/shell.c b/src/shell.c index e6fb332..40beef1 100644 --- a/src/shell.c +++ b/src/shell.c @@ -561,13 +561,8 @@ destroy_black_view(struct wl_listener *listener, void *data) if (fs && fs->fs) { - if (fs->fs->view && fs->fs->view->surface) { - weston_surface_destroy(fs->fs->view->surface); - fs->fs->view = NULL; - } - - free(fs->fs); wl_list_remove(&fs->fs_destroy.link); + free(fs->fs); } } |