mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-15 19:22:22 +00:00
Xi: drop unused variable and NULL free in ProcXISelectEvents()
Some checks failed
Some checks failed
The `types` variable is never used, just assigned NULL - and that NULL
value is passed to free(). This code is really doing nothing, never did so
since introduced in 2009.
Fixes: 8b6a370058
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
c54d8b1b34
commit
90bfeca905
1 changed files with 0 additions and 3 deletions
|
|
@ -151,7 +151,6 @@ ProcXISelectEvents(ClientPtr client)
|
|||
DeviceIntPtr dev;
|
||||
DeviceIntRec dummy;
|
||||
xXIEventMask *evmask;
|
||||
int *types = NULL;
|
||||
int len;
|
||||
|
||||
REQUEST(xXISelectEventsReq);
|
||||
|
|
@ -327,8 +326,6 @@ ProcXISelectEvents(ClientPtr client)
|
|||
}
|
||||
|
||||
RecalculateDeliverableEvents(win);
|
||||
|
||||
free(types);
|
||||
return Success;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue