emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c,v


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c,v
Date: Tue, 04 Jul 2006 14:14:36 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kim F. Storm <kfstorm>  06/07/04 14:14:36

Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.918
retrieving revision 1.919
diff -u -b -r1.918 -r1.919
--- xterm.c     16 Jun 2006 12:12:27 -0000      1.918
+++ xterm.c     4 Jul 2006 14:14:36 -0000       1.919
@@ -10772,11 +10772,15 @@
        xfree (dpyinfo->font_table[i].name);
       }
 
+  if (dpyinfo->font_table)
+    {
   if (dpyinfo->font_table->font_encoder)
     xfree (dpyinfo->font_table->font_encoder);
-
   xfree (dpyinfo->font_table);
+    }
+  if (dpyinfo->x_id_name)
   xfree (dpyinfo->x_id_name);
+  if (dpyinfo->color_cells)
   xfree (dpyinfo->color_cells);
   xfree (dpyinfo);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]