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.me...@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.me...@novell.com  <><, Pseudo Engineer, itinerant idiot


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to