diff options
author | Jim Meyering <[email protected]> | 2009-06-29 05:28:54 +0000 |
---|---|---|
committer | Jim Meyering <[email protected]> | 2009-06-29 05:28:54 +0000 |
commit | 5f4457269e98f327c9795c797ed71fd6810a49c0 (patch) | |
tree | d4c1122f06729dffdd9d9d8d42322188b1baf9e0 /src/term.c | |
parent | e0f591953b48b3894458dc1746304de140018b45 (diff) |
Remove useless if-before-xfree tests.
* nsfont.m (nsfont_close): Remove useless test.
* term.c (delete_tty): Likewise.
* w32.c (system_process_attributes): Likewise.
* w32font.c (w32font_close): Likewise.
* xfaces.c (x_free_gc): Likewise.
* xselect.c (buffer): Likewise.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c index fc778012e2..5176214b13 100644 --- a/src/term.c +++ b/src/term.c @@ -4018,10 +4018,8 @@ delete_tty (struct terminal *terminal) xfree (tty->old_tty); xfree (tty->Wcm); - if (tty->termcap_strings_buffer) - xfree (tty->termcap_strings_buffer); - if (tty->termcap_term_buffer) - xfree (tty->termcap_term_buffer); + xfree (tty->termcap_strings_buffer); + xfree (tty->termcap_term_buffer); bzero (tty, sizeof (struct tty_display_info)); xfree (tty); |