diff options
author | Max Horn | 2010-11-28 22:05:05 +0000 |
---|---|---|
committer | Max Horn | 2010-11-28 22:05:05 +0000 |
commit | 460a65d2aa78df5528ab54d1d3eb9afde0a10355 (patch) | |
tree | eb98ef24ecdb8d92c88fd5fca76e3411331e5d0b /backends/platform/sdl | |
parent | a162ff18bc88b7ad364576ae091f0becba9117e2 (diff) | |
download | scummvm-rg350-460a65d2aa78df5528ab54d1d3eb9afde0a10355.tar.gz scummvm-rg350-460a65d2aa78df5528ab54d1d3eb9afde0a10355.tar.bz2 scummvm-rg350-460a65d2aa78df5528ab54d1d3eb9afde0a10355.zip |
SDL: Reduce redundant deletes from OSystem_SDL destructor
svn-id: r54554
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index f31f7f81bd..5d41c304ef 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -81,22 +81,10 @@ OSystem_SDL::OSystem_SDL() OSystem_SDL::~OSystem_SDL() { SDL_ShowCursor(SDL_ENABLE); - delete _savefileManager; - _savefileManager = 0; - delete _graphicsManager; - _graphicsManager = 0; - delete _eventManager; - _eventManager = 0; delete _eventSource; _eventSource = 0; - delete _audiocdManager; - _audiocdManager = 0; delete _mixerManager; _mixerManager = 0; - delete _timerManager; - _timerManager = 0; - delete _mutexManager; - _mutexManager = 0; #ifdef USE_OPENGL delete[] _graphicsModes; |