]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_connection_closed): Don't delete dpyinfo if it's null.
authorKarl Heuer <kwzh@gnu.org>
Wed, 13 Dec 1995 20:08:11 +0000 (20:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 13 Dec 1995 20:08:11 +0000 (20:08 +0000)
src/xterm.c

index 1f7f3b5a9e78b95a4f2154a706921c4840043ad2..c2e1e56d76ce8374414371ae20d690a62814187a 100644 (file)
@@ -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)
     {