changeset 13727:9eb09adbcb38

(x_connection_closed): Don't delete dpyinfo if it's null.
author Karl Heuer <kwzh@gnu.org>
date Wed, 13 Dec 1995 20:08:11 +0000
parents 0611604f3cd3
children 4b7903cfa7ee
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Dec 13 19:42:33 1995 +0000
+++ b/src/xterm.c	Wed Dec 13 20:08:11 1995 +0000
@@ -4563,7 +4563,8 @@
 	Fdelete_frame (frame, Qt);
       }
 
-  x_delete_display (dpyinfo);
+  if (dpyinfo)
+    x_delete_display (dpyinfo);
 
   if (x_display_list == 0)
     {