diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-07-13 19:19:45 +0200 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-07-13 20:51:47 -0400 |
commit | b9ddd0f3bd5424eea85d6ac743af75775ca669bf (patch) | |
tree | 1485142be20700af72d482bcdbf43091e1857cfa | |
parent | 123164b34e0f70ff8486b8dbcd952a41fb914cd2 (diff) |
null the display pointer after closing the display, fixes fdo#37579
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
Signed-off-by: Noel Power <nopower@novell.com>
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
-rwxr-xr-x | 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 711671fe28d4..4f5d4b217a44 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 |