From: Dmitry Antipov Date: Tue, 26 Jun 2012 05:40:33 +0000 (+0400) Subject: * term.c (delete_tty): Remove redundant call to memset. X-Git-Tag: emacs-24.2.90~1199^2~344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42997f4d4fb5614157f8f798286787c5d2976fb6;p=emacs.git * term.c (delete_tty): Remove redundant call to memset. --- diff --git a/src/ChangeLog b/src/ChangeLog index ff3fa02790e..9c6bf77785b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Dmitry Antipov + + * term.c (delete_tty): Remove redundant call to memset. + 2012-06-26 Dmitry Antipov * alloc.c: Remove build_string. diff --git a/src/term.c b/src/term.c index 98f5639fb4a..471bc19ab54 100644 --- a/src/term.c +++ b/src/term.c @@ -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); }