summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {