Dima Ryazanov
89c2f637b9
compositor-wayland: Fix a use after free
...
When a window is being closed, the frame_done callback often runs after
the output is already destroyed, i.e:
wayland_output_start_repaint_loop
input_handle_button
wayland_output_destroy
frame_done
To fix this, destroy the callback before destroying the output.
(Also, fix the type of output in frame_done: it's passed in
a wayland_output, not a weston_output.)
Signed-off-by: Dima Ryazanov <dima@gmail.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
2016-11-28 11:29:30 +00:00
..
2016-11-21 18:22:47 +00:00
2016-07-26 16:26:08 -07:00
2016-07-26 16:26:08 -07:00
2016-11-07 17:06:44 +02:00
2016-10-03 14:22:50 +03:00
2016-10-05 14:59:09 +03:00
2016-10-03 14:24:08 +03:00
2016-10-05 14:59:09 +03:00
2016-10-03 14:24:08 +03:00
2016-10-05 14:59:10 +03:00
2016-10-03 14:24:08 +03:00
2016-11-28 11:29:30 +00:00
2016-10-14 10:42:17 +02:00
2016-11-24 11:45:40 +00:00
2016-10-05 14:59:09 +03:00
2016-11-22 12:39:11 +00:00
2016-11-24 11:42:05 +00:00
2016-08-14 09:28:50 +02:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-11-21 18:04:40 +00:00
2016-11-07 17:06:44 +02:00
2016-11-16 14:46:22 +00:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-07-26 16:26:08 -07:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-08-15 16:33:42 +02:00
2016-08-06 18:19:22 -07:00
2016-06-23 17:44:54 +03:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-10-22 15:04:58 +01:00
2016-06-23 17:44:54 +03:00
2016-08-02 14:19:11 +03:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-07-26 16:26:08 -07:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-07-01 14:10:26 +03:00
2016-07-01 14:10:26 +03:00
2016-07-26 16:26:08 -07:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-11-16 14:46:22 +00:00
2016-08-15 16:58:23 +02:00
2016-06-23 17:44:54 +03:00
2016-10-03 13:51:24 +03:00
2016-07-26 16:26:08 -07:00