aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKarl Heuer1995-12-13 20:08:11 +0000
committerKarl Heuer1995-12-13 20:08:11 +0000
commit482a1bd2302d8cd97d8e94d4f99af848dda0a784 (patch)
treedfbb519b3b6b88ff203e1ebe94f3a5f8e214a3b6 /src/xterm.c
parentf13101e9c2b9598b5e0ea82411949d60366d8605 (diff)
downloademacs-482a1bd2302d8cd97d8e94d4f99af848dda0a784.tar.gz
emacs-482a1bd2302d8cd97d8e94d4f99af848dda0a784.zip
(x_connection_closed): Don't delete dpyinfo if it's null.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1f7f3b5a9e7..c2e1e56d76c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4563,7 +4563,8 @@ x_connection_closed (display, error_message)
4563 Fdelete_frame (frame, Qt); 4563 Fdelete_frame (frame, Qt);
4564 } 4564 }
4565 4565
4566 x_delete_display (dpyinfo); 4566 if (dpyinfo)
4567 x_delete_display (dpyinfo);
4567 4568
4568 if (x_display_list == 0) 4569 if (x_display_list == 0)
4569 { 4570 {