src/video/x11/SDL_x11events.c
changeset 1159 787b8d2c23e4
parent 805 df1a3218b468
child 1168 045f186426e1
--- a/src/video/x11/SDL_x11events.c	Tue Oct 11 20:05:54 2005 +0000
+++ b/src/video/x11/SDL_x11events.c	Tue Oct 11 23:57:04 2005 +0000
@@ -159,6 +159,7 @@
 	int posted;
 	XEvent xevent;
 
+	memset(&xevent, '\0', sizeof (XEvent));  /* valgrind fix. --ryan. */
 	XNextEvent(SDL_Display, &xevent);
 
 	posted = 0;