diff src/event-msw.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 a4b5e2effaff
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/event-msw.c	Mon Sep 29 21:53:04 2003 +0000
+++ b/src/event-msw.c	Tue Sep 30 15:27:01 2003 +0000
@@ -824,7 +824,7 @@
 
   if (str->buffer)
     {
-      xfree (str->buffer);
+      xfree (str->buffer, void *);
       str->buffer = 0;
     }
 
@@ -2109,7 +2109,7 @@
 	       they don't allow relative paths at all!  this is way bogus. */
 	    cmd = urlify_filename (cmd);
 	    l_dndlist = build_intstring (cmd);
-	    xfree (cmd);
+	    xfree (cmd, Ibyte *);
 	  }
 	  GCPRO2 (emacs_event, l_dndlist);
 
@@ -2738,7 +2738,7 @@
 				((LCID) GetKeyboardLayout (0) & 0xFFFF),
 				NULL));
 		    ch = itext_ichar (intchar);
-		    xfree (intchar);
+		    xfree (intchar, Ibyte *);
 		  }
 
 #ifdef DEBUG_XEMACS
@@ -2884,7 +2884,7 @@
 
 				XSET_EVENT_KEY_ALT_KEYCHARS
 				  (lastev, i, itext_ichar (intchar));
-				xfree (intchar);
+				xfree (intchar, Ibyte *);
 			      }
 			  }
 		      }
@@ -3405,7 +3405,8 @@
 		   * recursion here. */
 		  if (FRAME_MSWINDOWS_TARGET_RECT (frame))
 		    {
-		      xfree (FRAME_MSWINDOWS_TARGET_RECT (frame));
+		      xfree (FRAME_MSWINDOWS_TARGET_RECT (frame),
+			     XEMACS_RECT_WH *);
 		      FRAME_MSWINDOWS_TARGET_RECT (frame) = 0;
 		    }
 		}
@@ -3864,7 +3865,7 @@
 	    {
 	      fname = urlify_filename (fname);
 	      l_item = build_intstring (fname);
-	      xfree (fname);
+	      xfree (fname, Ibyte *);
 	      l_dndlist = Fcons (l_item, l_dndlist);
 	    }
 	  }