(x_connection_closed): Don't delete dpyinfo if it's null.
This commit is contained in:
parent
f13101e9c2
commit
482a1bd230
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue