summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-06-03 14:02:09 +0900
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-06-03 18:02:09 +0900
commitc8709585cb7b37a0c5498a8762f6d08c96b7f47d (patch)
treeb044d604c6599e212ef1d92411d641a96f3ff76d
parent5dcfd1a719b12c71237129cafb7612dc830edea0 (diff)
downloadweston-c8709585cb7b37a0c5498a8762f6d08c96b7f47d.tar.gz
Fix ivi-shell-surface resource leak.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
-rw-r--r--ivi-shell/ivi-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c
index 52463c08..b5001f59 100644
--- a/ivi-shell/ivi-shell.c
+++ b/ivi-shell/ivi-shell.c
@@ -138,6 +138,8 @@ surface_destroy(struct wl_client *client, struct wl_resource *resource)
ivisurf->surface = NULL;
ivi_layout->surfaceSetNativeContent(NULL, 0, 0, ivisurf->id_surface);
}
+
+ wl_resource_destroy(resource);
}
static const struct ivi_surface_interface surface_implementation = {