summaryrefslogtreecommitdiff
path: root/desktop/unx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-07-13 10:56:59 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-07-13 10:57:47 +0100
commit36ffa90198a4fe297bf6b74eb78965387bc6c71e (patch)
tree549507289e758b6e8c7239e47b68ff1a5c8fea2b /desktop/unx
parenta7082e3cd9171105d12c65d8364d29680b8d1801 (diff)
null the display pointer after closing the display, fixes fdo#37579
Diffstat (limited to 'desktop/unx')
-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 0b8ed4f9ccc4..c365d4797b58 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