/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.813 by jhd, Sun Oct 5 11:52:46 2003 UTC revision 1.814 by jhd, Sun Oct 5 12:15:37 2003 UTC
# Line 10649  void Line 10649  void
10649  x_delete_display (dpyinfo)  x_delete_display (dpyinfo)
10650       struct x_display_info *dpyinfo;       struct x_display_info *dpyinfo;
10651  {  {
10652      int i;
10653    
10654    delete_keyboard_wait_descriptor (dpyinfo->connection);    delete_keyboard_wait_descriptor (dpyinfo->connection);
10655    
10656    /* Discard this display from x_display_name_list and x_display_list.    /* Discard this display from x_display_name_list and x_display_list.
# Line 10700  x_delete_display (dpyinfo) Line 10702  x_delete_display (dpyinfo)
10702      xim_close_dpy (dpyinfo);      xim_close_dpy (dpyinfo);
10703  #endif  #endif
10704    
10705      /* Free the font names in the font table.  */
10706      for (i = 0; i < dpyinfo->n_fonts; i++)
10707        if (dpyinfo->font_table[i].name)
10708          {
10709            if (dpyinfo->font_table[i].name != dpyinfo->font_table[i].full_name)
10710              xfree (dpyinfo->font_table[i].full_name);
10711            xfree (dpyinfo->font_table[i].name);
10712          }
10713    
10714      if (dpyinfo->font_table->font_encoder)
10715        xfree (dpyinfo->font_table->font_encoder);
10716    
10717    xfree (dpyinfo->font_table);    xfree (dpyinfo->font_table);
10718    xfree (dpyinfo->x_id_name);    xfree (dpyinfo->x_id_name);
10719    xfree (dpyinfo->color_cells);    xfree (dpyinfo->color_cells);

Legend:
Removed from v.1.813  
changed lines
  Added in v.1.814

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26