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:
parent
f13101e9c2
commit
482a1bd230
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user