diff src/termcap.c @ 5125:b5df3737028a ben-lisp-object

merge
author Ben Wing <ben@xemacs.org>
date Wed, 24 Feb 2010 01:58:04 -0600
parents 16112448d484
children dd2976af8783
line wrap: on
line diff
--- a/src/termcap.c	Wed Jan 20 07:05:57 2010 -0600
+++ b/src/termcap.c	Wed Feb 24 01:58:04 2010 -0600
@@ -411,7 +411,7 @@
 
       /* Free old `term' if appropriate.  */
       if (term != name)
-	xfree (term, const char *);
+	xfree (term);
 
       /* If BP is malloc'd by us, make sure it is big enough.  */
       if (malloc_size)
@@ -441,7 +441,7 @@
     }
 
   retry_close (fd);
-  xfree (buf.beg, char *);
+  xfree (buf.beg);
 
   if (malloc_size)
     {
@@ -651,7 +651,7 @@
 	  printf ("\\%0o", *y);
 	else
 	  putchar (*y);
-      xfree (x, char *);
+      xfree (x);
     }
   else
     printf ("none");