summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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