comparison lwlib/lwlib-Xaw.c @ 100276:8f4457a692c5

(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.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 08 Dec 2008 14:44:30 +0000
parents 107ccd98fa12
children 606f2d163a64 3c31d7653adf
comparison
equal deleted inserted replaced
100275:79edd8112818 100276:8f4457a692c5