summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-07-13 19:19:45 +0200
committerJan Holesovsky <kendy@suse.cz>2011-07-13 19:19:45 +0200
commitec70532aec8b83252672b7e1ad5cdbe4beccd303 (patch)
treedda23fe48ebbdca409d43576d209b1abfe8edd43
parent9dc34e6217cc4ae92734c5964933126274394f78 (diff)
null the display pointer after closing the display, fixes fdo#37579
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
-rwxr-xr-xdesktop/unx/source/splashx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 711671fe28..4f5d4b217a 100755
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -620,6 +620,7 @@ void splash_draw_progress( int progress )
void splash_close_window()
{
XCloseDisplay( display );
+ display = NULL;
#ifdef USE_LIBPNG
png_destroy_read_struct( &png_ptr, &info_ptr, NULL );
#else