mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Xephyr: free driverPrivates on Fini
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
committed by
Adam Jackson
parent
b216701504
commit
6828645916
@@ -1303,6 +1303,7 @@ MouseDisable(KdPointerInfo * pi)
|
||||
static void
|
||||
MouseFini(KdPointerInfo * pi)
|
||||
{
|
||||
free(pi->driverPrivate);
|
||||
ephyrMouse = NULL;
|
||||
return;
|
||||
}
|
||||
@@ -1366,6 +1367,7 @@ EphyrKeyboardDisable(KdKeyboardInfo * ki)
|
||||
static void
|
||||
EphyrKeyboardFini(KdKeyboardInfo * ki)
|
||||
{
|
||||
free(ki->driverPrivate);
|
||||
ephyrKbd = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user