* term.c (delete_tty): Remove redundant call to memset.

This commit is contained in:
Dmitry Antipov 2012-06-26 09:40:33 +04:00
parent 1130ecfcac
commit 42997f4d4f
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-06-26 Dmitry Antipov <dmantipov@yandex.ru>
* term.c (delete_tty): Remove redundant call to memset.
2012-06-26 Dmitry Antipov <dmantipov@yandex.ru>
* alloc.c: Remove build_string.

View file

@ -3605,7 +3605,6 @@ delete_tty (struct terminal *terminal)
xfree (tty->termcap_strings_buffer);
xfree (tty->termcap_term_buffer);
memset (tty, 0, sizeof (struct tty_display_info));
xfree (tty);
}