[Libreoffice-commits] .: desktop/unx

Michael Meeks michael at kemper.freedesktop.org
Wed Jul 13 03:00:08 PDT 2011


 desktop/unx/source/splashx.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 22f82035331956cbb95e6e735c4549d8ace2bc23
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Wed Jul 13 10:56:59 2011 +0100

    null the display pointer after closing the display, fixes fdo#37579

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


More information about the Libreoffice-commits mailing list