aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2009-07-10 21:49:47 +0000
committerSven Hesse2009-07-10 21:49:47 +0000
commitad7c50e70d09695abd8a61b5631c2883d7e6b387 (patch)
treeec3fe815004f6af2a0c3accf62669c3b9d674d27 /engines/gob
parent4b37e6ad8c344e7075f67d23146b35250eeac484 (diff)
downloadscummvm-rg350-ad7c50e70d09695abd8a61b5631c2883d7e6b387.tar.gz
scummvm-rg350-ad7c50e70d09695abd8a61b5631c2883d7e6b387.tar.bz2
scummvm-rg350-ad7c50e70d09695abd8a61b5631c2883d7e6b387.zip
Fixing mismatched delete
svn-id: r42354
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp
index f05ee8565f..98350af738 100644
--- a/engines/gob/video.cpp
+++ b/engines/gob/video.cpp
@@ -62,7 +62,7 @@ Font::Font(const byte *data) : _dataPtr(data) {
}
Font::~Font() {
- delete _dataPtr;
+ delete[] _dataPtr;
}
uint8 Font::getCharWidth(uint8 c) const {