Skip to content
Permalink
Browse files

Valgrind fix.

  • Loading branch information
icculus committed Oct 11, 2005
1 parent 8b4199c commit fd2f2a8847df3a6eedbf24535a19f34eae68a40c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/x11/SDL_x11events.c
@@ -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;

0 comments on commit fd2f2a8

Please sign in to comment.