diff options
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index f5ede191ce6..ff641ee2b27 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -309,6 +309,8 @@ dri2_release_pending_buffer(void *data, dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, dri2_surf->pending_buffer); dri2_surf->pending_buffer = NULL; + + wl_callback_destroy(callback); } static const struct wl_callback_listener release_buffer_listener = { |