changeset 29536:4def8a9e785a

* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to access the data it doesn't point to.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 09 Jun 2000 16:13:11 +0000
parents 5ad8090f70cb
children 964ceab37635
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file src/ChangeLog has changed
--- a/src/xterm.c	Fri Jun 09 14:19:34 2000 +0000
+++ b/src/xterm.c	Fri Jun 09 16:13:11 2000 +0000
@@ -10799,7 +10799,8 @@
 #endif
 #endif
 
-  dpyinfo->display = 0;
+  if (dpyinfo)
+    dpyinfo->display = 0;
 
   /* First delete frames whose mini-buffers are on frames
      that are on the dead display.  */