diff src/video/x11/SDL_x11video.c @ 3885:a10bddfdc40f SDL-1.2

Closing minor memory leak in XME code.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 29 Oct 2006 02:46:42 +0000
parents 0e44c6f90b95
children c5c3c772f5aa
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Fri Oct 27 20:18:24 2006 +0000
+++ b/src/video/x11/SDL_x11video.c	Sun Oct 29 02:46:42 2006 +0000
@@ -1408,5 +1408,9 @@
 		/* Direct screen access, no memory buffer */
 		this->screen->pixels = NULL;
 	}
+
+#if SDL_VIDEO_DRIVER_X11_XME
+    XiGMiscDestroy();
+#endif
 }