Valgrind fix.

This commit is contained in:
Ryan C. Gordon
2005-10-11 23:57:04 +00:00
parent 41b267a0b5
commit 23e08c7353

View File

@@ -159,6 +159,7 @@ static int X11_DispatchEvent(_THIS)
int posted;
XEvent xevent;
memset(&xevent, '\0', sizeof (XEvent)); /* valgrind fix. --ryan. */
XNextEvent(SDL_Display, &xevent);
posted = 0;