Valgrind fix.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401162
This commit is contained in:
Ryan C. Gordon 2005-10-11 23:57:04 +00:00
parent 071e2180f4
commit 4d7c808abf

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;