comparison 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
comparison
equal deleted inserted replaced
2323:4ac07ae446d3 2324:3202e4826c57
99 SDL_VideoData *data = (SDL_VideoData *) device->driverdata; 99 SDL_VideoData *data = (SDL_VideoData *) device->driverdata;
100 100
101 if (data->display) { 101 if (data->display) {
102 XCloseDisplay(data->display); 102 XCloseDisplay(data->display);
103 } 103 }
104 SDL_free(data->windowlist);
104 SDL_free(device->driverdata); 105 SDL_free(device->driverdata);
105 SDL_free(device); 106 SDL_free(device);
106 107
107 SDL_X11_UnloadSymbols(); 108 SDL_X11_UnloadSymbols();
108 } 109 }