]> git.eshelyaron.com Git - emacs.git/commit
(encode_terminal_code): Free any previous memory blocks
authorChong Yidong <cyd@stupidchicken.com>
Mon, 8 Dec 2008 14:44:30 +0000 (14:44 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 8 Dec 2008 14:44:30 +0000 (14:44 +0000)
commitd31eee5eccaab4f86222be76ddb383bf9db2188c
treec0ff5422c5c537444f9c0d27c562a599bd2debcc
parentd93264c67823a87a01f723f0618bbdf173d7415f
(encode_terminal_code): Free any previous memory blocks
before calling xmalloc for encode_terminal_src or
encode_terminal_dst.
(maybe_fatal): Buffer argument deleted.  Don't free buffer here.
All callers changed.
(init_tty): Store termcap data and string buffers in new struct
tty members termcap_term_buffer and termcap_strings_buffer.
(delete_tty): Free them.
(syms_of_term): Initialize encode_terminal_src and
encode_terminal_dst.
src/term.c