diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-06-03 14:02:09 +0900 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-06-03 18:02:09 +0900 |
commit | c8709585cb7b37a0c5498a8762f6d08c96b7f47d (patch) | |
tree | b044d604c6599e212ef1d92411d641a96f3ff76d /ivi-shell | |
parent | 5dcfd1a719b12c71237129cafb7612dc830edea0 (diff) | |
download | weston-c8709585cb7b37a0c5498a8762f6d08c96b7f47d.tar.gz |
Fix ivi-shell-surface resource leak.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/ivi-shell.c | 2 |
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 = { |