comparison src/console-tty.c @ 1726:a8d8f419b459

[xemacs-hg @ 2003-09-30 15:26:34 by james] Add type information to xfree to avoid alias creation.
author james
date Tue, 30 Sep 2003 15:27:01 +0000
parents e22b0213b713
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
1725:7ff8f4d70aec 1726:a8d8f419b459
194 struct tty_console *tty_con = CONSOLE_TTY_DATA (con); 194 struct tty_console *tty_con = CONSOLE_TTY_DATA (con);
195 if (tty_con) 195 if (tty_con)
196 { 196 {
197 if (tty_con->term_entry_buffer) /* allocated in term_init () */ 197 if (tty_con->term_entry_buffer) /* allocated in term_init () */
198 { 198 {
199 xfree (tty_con->term_entry_buffer); 199 xfree (tty_con->term_entry_buffer, char *);
200 tty_con->term_entry_buffer = NULL; 200 tty_con->term_entry_buffer = NULL;
201 } 201 }
202 xfree (tty_con); 202 xfree (tty_con, struct tty_console *);
203 CONSOLE_TTY_DATA (con) = NULL; 203 CONSOLE_TTY_DATA (con) = NULL;
204 } 204 }
205 } 205 }
206 206
207 static void 207 static void