aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-11-12 19:11:50 +0000
committerMartin Kiewitz2009-11-12 19:11:50 +0000
commit83c7b6b6b6f0b30876384d9d6e4b4fd27a604ba9 (patch)
tree080ff527d21729f64568201c5794e25e577e8ec9 /engines/sci
parentf716959c1a67a5381470a387055e71cf4eb4ed33 (diff)
downloadscummvm-rg350-83c7b6b6b6f0b30876384d9d6e4b4fd27a604ba9.tar.gz
scummvm-rg350-83c7b6b6b6f0b30876384d9d6e4b4fd27a604ba9.tar.bz2
scummvm-rg350-83c7b6b6b6f0b30876384d9d6e4b4fd27a604ba9.zip
SCI/newgui: SciGuiFont fixing delete
svn-id: r45867
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gui/gui_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_font.cpp b/engines/sci/gui/gui_font.cpp
index c4061a5de5..0af0942c1f 100644
--- a/engines/sci/gui/gui_font.cpp
+++ b/engines/sci/gui/gui_font.cpp
@@ -57,7 +57,7 @@ SciGuiFont::SciGuiFont(ResourceManager *resMan, GuiResourceId resourceId)
}
SciGuiFont::~SciGuiFont() {
- delete _chars;
+ delete []_chars;
_resMan->unlockResource(_resource);
}