mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 03:54:30 +00:00
kdrive/ephyr: free screen struct
Free screen->driver on screenFini, instead of just leaking it.
This commit is contained in:
committed by
Daniel Stone
parent
9ecf79ca01
commit
0f6dd4aea6
@@ -675,6 +675,8 @@ ephyrRestore (KdCardInfo *card)
|
||||
void
|
||||
ephyrScreenFini (KdScreenInfo *screen)
|
||||
{
|
||||
xfree(screen->driver);
|
||||
screen->driver = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user