[mutter/wayland] display: Don't double-free the screen



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]