1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

(x_connection_closed): Don't delete dpyinfo if it's null.

This commit is contained in:
Karl Heuer 1995-12-13 20:08:11 +00:00
parent f13101e9c2
commit 482a1bd230

View 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)
{