diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2014-11-04 10:54:33 +0000 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-11-06 17:09:38 +0900 |
commit | 286ac998f40c25d6232081622fa5cd244209ede5 (patch) | |
tree | d1575cfaf20b8b898f36e643f6ef5e55719e6c58 | |
parent | 79e4a00b63aa431e3f151f55ff71a21966c82dfe (diff) | |
download | weston-286ac998f40c25d6232081622fa5cd244209ede5.tar.gz |
ivi-shell: Fix layout surfaces not being destroyed
Signed-off-by: James Thomas <james.thomas@codethink.co.uk>
-rw-r--r-- | ivi-shell/ivi-shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index d1fffe48..576fecd4 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -138,6 +138,7 @@ surface_destroy(struct wl_client *client, struct wl_resource *resource) { struct ivi_shell_surface *ivisurf = wl_resource_get_user_data(resource); if (ivisurf != NULL) { + wl_resource_destroy(ivisurf->surface->resource); ivisurf->surface->configure = NULL; ivisurf->surface->configure_private = NULL; ivisurf->surface = NULL; |