emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Jim Meyering
Subject: [Emacs-diffs] Changes to emacs/src/term.c,v
Date: Mon, 02 Jun 2008 06:09:22 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jim Meyering <meyering> 08/06/02 06:09:17

Index: src/term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/term.c,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -b -r1.217 -r1.218
--- src/term.c  14 May 2008 07:49:52 -0000      1.217
+++ src/term.c  2 Jun 2008 06:09:15 -0000       1.218
@@ -2090,16 +2090,13 @@
 
   if (save)
     {
-      if (default_orig_pair)
        xfree (default_orig_pair);
       default_orig_pair = tty->TS_orig_pair ? xstrdup (tty->TS_orig_pair) : 
NULL;
 
-      if (default_set_foreground)
        xfree (default_set_foreground);
       default_set_foreground = tty->TS_set_foreground ? xstrdup 
(tty->TS_set_foreground)
                               : NULL;
 
-      if (default_set_background)
        xfree (default_set_background);
       default_set_background = tty->TS_set_background ? xstrdup 
(tty->TS_set_background)
                               : NULL;
@@ -3833,7 +3830,6 @@
      struct terminal *terminal;
      char *str1, *str2, *arg1, *arg2;
 {
-  if (buffer)
     xfree (buffer);
 
   if (terminal)
@@ -3915,10 +3911,7 @@
 
   delete_terminal (terminal);
 
-  if (tty->name)
     xfree (tty->name);
-
-  if (tty->type)
     xfree (tty->type);
 
   if (tty->input)
@@ -3932,10 +3925,7 @@
   if (tty->termscript)
     fclose (tty->termscript);
 
-  if (tty->old_tty)
     xfree (tty->old_tty);
-
-  if (tty->Wcm)
     xfree (tty->Wcm);
 
   bzero (tty, sizeof (struct tty_display_info));




reply via email to

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