Commit 11f64668 authored by Benjamin Franzke's avatar Benjamin Franzke 😀
Browse files

egl_dri2: Destroy callback in release_pending_buffer

parent 59884b9b
......@@ -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 = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment