diff 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
line wrap: on
line diff
--- a/src/console-tty.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/console-tty.c	Tue Sep 30 15:27:01 2003 +0000
@@ -196,10 +196,10 @@
     {
       if (tty_con->term_entry_buffer) /* allocated in term_init () */
 	{
-	  xfree (tty_con->term_entry_buffer);
+	  xfree (tty_con->term_entry_buffer, char *);
 	  tty_con->term_entry_buffer = NULL;
 	}
-      xfree (tty_con);
+      xfree (tty_con, struct tty_console *);
       CONSOLE_TTY_DATA (con) = NULL;
     }
 }