display: Don't double-free the screen
We already free the screen once in meta_display_close. This fixes a crash when trying to restart mutter.
This commit is contained in:
parent
b367965f6c
commit
0f9b29b140
@ -2974,8 +2974,6 @@ meta_display_unmanage_screen (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
meta_verbose ("Unmanaging screen %d on display %s\n",
|
meta_verbose ("Unmanaging screen %d on display %s\n",
|
||||||
screen->number, display->name);
|
screen->number, display->name);
|
||||||
|
|
||||||
meta_screen_free (screen, timestamp);
|
|
||||||
meta_display_close (display, timestamp);
|
meta_display_close (display, timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user