aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-03-29 21:47:09 +0000
committerWillem Jan Palenstijn2009-03-29 21:47:09 +0000
commit6c6f95afe98e1b1624e0215ea8e99cee0c77fbfa (patch)
tree0e344815c734b1c7a3ec9787a5da635b66233fab /engines
parent968856780bb474dde5ea5685c079cbcd60230377 (diff)
downloadscummvm-rg350-6c6f95afe98e1b1624e0215ea8e99cee0c77fbfa.tar.gz
scummvm-rg350-6c6f95afe98e1b1624e0215ea8e99cee0c77fbfa.tar.bz2
scummvm-rg350-6c6f95afe98e1b1624e0215ea8e99cee0c77fbfa.zip
SCI: don't delete static palette twice
svn-id: r39748
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gfx/gfx_resmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp
index 19988be9f0..c81b6c83d6 100644
--- a/engines/sci/gfx/gfx_resmgr.cpp
+++ b/engines/sci/gfx/gfx_resmgr.cpp
@@ -66,7 +66,7 @@ GfxResManager::GfxResManager(int version, gfx_options_t *options, gfx_driver_t *
GfxResManager::~GfxResManager() {
_staticPalette->free();
- delete _staticPalette;
+ _staticPalette = 0;
}
#define DRAW_PIC01(pic, picStyle, isSci1) \