src/video/SDL_video.c
changeset 2324 3202e4826c57
parent 2267 c785543d1843
child 2328 91e601d9df8b
     1.1 --- a/src/video/SDL_video.c	Thu Mar 06 23:07:02 2008 +0000
     1.2 +++ b/src/video/SDL_video.c	Fri Mar 07 17:20:37 2008 +0000
     1.3 @@ -2190,6 +2190,11 @@
     1.4              display->windows = NULL;
     1.5          }
     1.6          display->num_windows = 0;
     1.7 +        if (display->render_drivers) {
     1.8 +            SDL_free(display->render_drivers);
     1.9 +            display->render_drivers = NULL;
    1.10 +        }
    1.11 +        display->num_render_drivers = 0;
    1.12      }
    1.13      _this->VideoQuit(_this);
    1.14