diff src/video/x11/SDL_x11video.c @ 2324:3202e4826c57

more valgrind errors fixed. Plus I ran make indent which changed a few files.
author Bob Pendleton <bob@pendleton.com>
date Fri, 07 Mar 2008 17:20:37 +0000
parents 4ac07ae446d3
children 44e49d3fa6cf 64f346a83ed3
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Thu Mar 06 23:07:02 2008 +0000
+++ b/src/video/x11/SDL_x11video.c	Fri Mar 07 17:20:37 2008 +0000
@@ -101,6 +101,7 @@
     if (data->display) {
         XCloseDisplay(data->display);
     }
+    SDL_free(data->windowlist);
     SDL_free(device->driverdata);
     SDL_free(device);