From 1f7a6bf84582b860a21782275faaafa68fcf9b20 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 1 Feb 2014 16:29:09 -0500 Subject: [PATCH] wayland-surface: Don't clean up the buffer_destroy_listener twice double_buffered_state_destroy will do this for us. --- src/wayland/meta-wayland-surface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index c8b1a5032..d33b9f31b 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -517,10 +517,6 @@ meta_wayland_surface_free (MetaWaylandSurface *surface) compositor->surfaces = g_list_remove (compositor->surfaces, surface); meta_wayland_buffer_reference (&surface->buffer_ref, NULL); - - if (surface->pending.buffer) - wl_list_remove (&surface->pending.buffer_destroy_listener.link); - double_buffered_state_destroy (&surface->pending); meta_wayland_compositor_repick (compositor);