From b4f077a596421eb14e487db5cf716a1abf7e4bba Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 19 Aug 2024 14:23:38 +0300 Subject: [PATCH] drm-syncobj-v1: remove buffer release listener on signaller destroy --- types/wlr_linux_drm_syncobj_v1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/types/wlr_linux_drm_syncobj_v1.c b/types/wlr_linux_drm_syncobj_v1.c index c30274e0..c2e339a4 100644 --- a/types/wlr_linux_drm_syncobj_v1.c +++ b/types/wlr_linux_drm_syncobj_v1.c @@ -485,6 +485,7 @@ static void release_signaller_handle_buffer_release(struct wl_listener *listener } wlr_drm_syncobj_timeline_unref(signaller->timeline); + wl_list_remove(&signaller->buffer_release.link); free(signaller); }