Signed-off-by: Jean-Christophe DUBOIS <j...@tribudubois.net>
---
 systems/x11/x11.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/systems/x11/x11.c b/systems/x11/x11.c
index f5d89da..f1e3ed4 100644
--- a/systems/x11/x11.c
+++ b/systems/x11/x11.c
@@ -447,7 +447,6 @@ system_shutdown( bool emergency )
      if (shared->x11image_pool)
           dfb_surface_pool_destroy( shared->x11image_pool );
 
-
      /*
       * Shared deinit (master only)
       */
@@ -456,12 +455,11 @@ system_shutdown( bool emergency )
      /* close remaining windows */
      for( i=0; i<shared->outputs; i++ ) {
           dfb_x11_close_window( x11, shared->output[i].xw );
+          shared->output[i].xw = NULL;
      }
 
-
      SHFREE( dfb_core_shmpool( x11->core ), shared );
 
-
      /*
       * Local deinit (master and slave)
       */
-- 
1.9.1

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to