Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi guys,

        A very trivial no-brainer; review/cherry-picking much appreciated.

        Thanks,

                Michael.

From 22f82035331956cbb95e6e735c4549d8ace2bc23 Mon Sep 17 00:00:00 2001
From: Michael Meeks <michael.meeks@novell.com>
Date: Wed, 13 Jul 2011 10:56:59 +0100
Subject: [PATCH] null the display pointer after closing the display, fixes fdo#37579

---
 desktop/unx/source/splashx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 0b8ed4f..c365d47 100755
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -610,6 +610,7 @@ void splash_close_window()
 {
     if (display)
         XCloseDisplay( display );
+    display = NULL;
 #ifdef USE_LIBPNG
     png_destroy_read_struct( &png_ptr, &info_ptr, NULL );
 #else
-- 
1.7.3.4

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.