[mutter/wayland] display: Don't double-free the screen
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] display: Don't double-free the screen
- Date: Fri, 28 Mar 2014 18:00:20 +0000 (UTC)
commit 0f9b29b14049009d38d45fc0f5063507c001144b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Mar 28 13:58:21 2014 -0400
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.
src/core/display.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 70e8aa5..2b1a574 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2974,8 +2974,6 @@ meta_display_unmanage_screen (MetaDisplay *display,
{
meta_verbose ("Unmanaging screen %d on display %s\n",
screen->number, display->name);
-
- meta_screen_free (screen, timestamp);
meta_display_close (display, timestamp);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]