* term.c (delete_tty): Remove redundant call to memset.
This commit is contained in:
parent
1130ecfcac
commit
42997f4d4f
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue