mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
dix: use valuator_mask_free() to free the last touches vmask
No functional effect since that one is just a free() call anyway.
This commit is contained in:
@@ -1021,7 +1021,7 @@ CloseDevice(DeviceIntPtr dev)
|
||||
free(dev->config_info); /* Allocated in xf86ActivateDevice. */
|
||||
free(dev->last.scroll);
|
||||
for (j = 0; j < dev->last.num_touches; j++)
|
||||
free(dev->last.touches[j].valuators);
|
||||
valuator_mask_free(&dev->last.touches[j].valuators);
|
||||
free(dev->last.touches);
|
||||
dev->config_info = NULL;
|
||||
dixFreePrivates(dev->devPrivates, PRIVATE_DEVICE);
|
||||
|
||||
Reference in New Issue
Block a user