mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 05:00:07 +01:00
kdrive/ephyr: free screen struct
Free screen->driver on screenFini, instead of just leaking it.
This commit is contained in:
parent
9ecf79ca01
commit
0f6dd4aea6
1 changed files with 2 additions and 0 deletions
|
|
@ -675,6 +675,8 @@ ephyrRestore (KdCardInfo *card)
|
|||
void
|
||||
ephyrScreenFini (KdScreenInfo *screen)
|
||||
{
|
||||
xfree(screen->driver);
|
||||
screen->driver = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue