aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c
index 050f540ddfa..03a756bf0a3 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.c
+++ b/src/egl/wayland/wayland-drm/wayland-drm.c
@@ -73,7 +73,7 @@ destroy_buffer(struct wl_resource *resource, struct wl_client *client)
static void
buffer_destroy(struct wl_client *client, struct wl_buffer *buffer)
{
- wl_resource_destroy(&buffer->resource, client);
+ wl_resource_destroy(&buffer->resource, client, 0);
}
const static struct wl_buffer_interface drm_buffer_interface = {