[PATCH 2/3] wayland: fix invalid write of variable
Tiago Vignatti
tiago.vignatti at intel.com
Mon Aug 1 07:27:16 PDT 2011
a shell interface is responsible for freeing the grab pointer, which
shouldn't be available for writing next.
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
wayland/wayland-server.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/wayland/wayland-server.c b/wayland/wayland-server.c
index b75df67..b16e9b4 100644
--- a/wayland/wayland-server.c
+++ b/wayland/wayland-server.c
@@ -454,7 +454,6 @@ wl_input_device_end_grab(struct wl_input_device *device, uint32_t time)
interface = device->grab->interface;
interface->end(device->grab, time);
- device->grab->input_device = NULL;
device->grab = NULL;
wl_list_remove(&device->grab_listener.link);
--
1.7.2.2
More information about the wayland-devel
mailing list