drm-syncobj-v1: remove buffer release listener on signaller destroy

This commit is contained in:
Kirill Primak 2024-08-19 14:23:38 +03:00 committed by Alexander Orzechowski
parent 3048fb3fc6
commit b4f077a596

View File

@ -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);
}