diff src/lstream.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 1d840489238d
line wrap: on
line diff
--- a/src/lstream.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/lstream.c	Tue Sep 30 15:27:01 2003 +0000
@@ -842,17 +842,17 @@
      is called more than once on the same object */
   if (lstr->out_buffer)
     {
-      xfree (lstr->out_buffer);
+      xfree (lstr->out_buffer, unsigned char *);
       lstr->out_buffer = 0;
     }
   if (lstr->in_buffer)
     {
-      xfree (lstr->in_buffer);
+      xfree (lstr->in_buffer, unsigned char *);
       lstr->in_buffer = 0;
     }
   if (lstr->unget_buffer)
     {
-      xfree (lstr->unget_buffer);
+      xfree (lstr->unget_buffer, unsigned char *);
       lstr->unget_buffer = 0;
     }
 
@@ -1540,7 +1540,7 @@
   struct resizing_buffer_stream *str = RESIZING_BUFFER_STREAM_DATA (stream);
   if (str->buf)
     {
-      xfree (str->buf);
+      xfree (str->buf, unsigned char *);
       str->buf = 0;
     }
   return 0;