Silence a valgrind warning

This commit is contained in:
Kristian Høgsberg 2011-10-12 16:30:08 -04:00
parent 8bc1abd1f5
commit 65fe6fc418

View file

@ -461,7 +461,6 @@ wl_input_device_end_grab(struct wl_input_device *device, uint32_t time)
interface = device->grab->interface; interface = device->grab->interface;
interface->end(device->grab, time); interface->end(device->grab, time);
device->grab->input_device = NULL;
device->grab = NULL; device->grab = NULL;
wl_list_remove(&device->grab_listener.link); wl_list_remove(&device->grab_listener.link);