From: Karl Heuer Date: Wed, 13 Dec 1995 20:08:11 +0000 (+0000) Subject: (x_connection_closed): Don't delete dpyinfo if it's null. X-Git-Tag: emacs-19.34~2133 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=482a1bd2302d8cd97d8e94d4f99af848dda0a784;p=emacs.git (x_connection_closed): Don't delete dpyinfo if it's null. --- 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) Fdelete_frame (frame, Qt); } - x_delete_display (dpyinfo); + if (dpyinfo) + x_delete_display (dpyinfo); if (x_display_list == 0) {