diff options
-rw-r--r-- | engines/groovie/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/groovie/font.cpp b/engines/groovie/font.cpp index cabb7563a1..6b77984469 100644 --- a/engines/groovie/font.cpp +++ b/engines/groovie/font.cpp @@ -120,7 +120,7 @@ uint8 Font::printletter(char letter, uint16 xoffset) { byte *data = new byte[width * height]; _sphinxfnt->read(data, width * height); _syst->copyRectToScreen(data, width, xoffset, 16, width, height); - delete data; + delete[] data; return width; } |