Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzVideo.m @ 1160:72c6c3e5bb85
Closed a memory leak caused when quitting video subsystem on Quartz target.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 13 Oct 2005 09:47:06 +0000 |
parents | 509295d5a023 |
children | 49d3efec6651 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m Tue Oct 11 23:57:04 2005 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.m Thu Oct 13 09:47:06 2005 +0000 @@ -487,9 +487,10 @@ else { [ qz_window close ]; + [ qz_window release ]; qz_window = nil; window_view = nil; - + /* Release the OpenGL context */ if ( mode_flags & SDL_OPENGL ) QZ_TearDownOpenGL (this);