[PATCH] null the display pointer after closing the display, fixes fdo#37579
Michael Meeks
michael.meeks at novell.com
Wed Jul 13 02:56:59 PDT 2011
---
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 at novell.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list