diff options
author | Einar Johan Trøan Sømåen | 2013-01-22 23:37:17 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-22 23:38:00 +0100 |
commit | 2c2fe9e941386619c218b03dddc78c0a75d3cdda (patch) | |
tree | 609fab506758db2be0d7d45052cbe64a3552281b /engines | |
parent | 338c88e5c231dc821f5f7c49d65bb14d3f8e63a1 (diff) | |
download | scummvm-rg350-2c2fe9e941386619c218b03dddc78c0a75d3cdda.tar.gz scummvm-rg350-2c2fe9e941386619c218b03dddc78c0a75d3cdda.tar.bz2 scummvm-rg350-2c2fe9e941386619c218b03dddc78c0a75d3cdda.zip |
WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrind
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp index 9319899495..e019b77453 100644 --- a/engines/wintermute/graphics/transparent_surface.cpp +++ b/engines/wintermute/graphics/transparent_surface.cpp @@ -32,7 +32,7 @@ namespace Wintermute { byte *TransparentSurface::_lookup = NULL; void TransparentSurface::destroyLookup() { - delete _lookup; + delete[] _lookup; _lookup = NULL; } |