comparison 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
comparison
equal deleted inserted replaced
3884:dba874934f0c 3885:a10bddfdc40f
1406 } 1406 }
1407 if ( this->screen && (this->screen->flags & SDL_HWSURFACE) ) { 1407 if ( this->screen && (this->screen->flags & SDL_HWSURFACE) ) {
1408 /* Direct screen access, no memory buffer */ 1408 /* Direct screen access, no memory buffer */
1409 this->screen->pixels = NULL; 1409 this->screen->pixels = NULL;
1410 } 1410 }
1411 } 1411
1412 1412 #if SDL_VIDEO_DRIVER_X11_XME
1413 XiGMiscDestroy();
1414 #endif
1415 }
1416