diff options
author | Benjamin Franzke <[email protected]> | 2011-09-01 09:17:04 +0200 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-09-01 11:44:43 +0200 |
commit | 11f64668a91259b876d6b6bccd902f875531502d (patch) | |
tree | 93a32f583241ce00a243b804c23ef3233dc596ab /src | |
parent | 59884b9b5922ceb87e5d24acc36ffc70570a873d (diff) |
egl_dri2: Destroy callback in release_pending_buffer
Diffstat (limited to 'src')
-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 = { |