[Scummvm-cvs-logs] scummvm master -> 2c2fe9e941386619c218b03dddc78c0a75d3cdda
somaen
einarjohants at gmail.com
Tue Jan 22 23:38:46 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2c2fe9e941 WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrind
Commit: 2c2fe9e941386619c218b03dddc78c0a75d3cdda
https://github.com/scummvm/scummvm/commit/2c2fe9e941386619c218b03dddc78c0a75d3cdda
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-01-22T14:38:00-08:00
Commit Message:
WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrind
Changed paths:
engines/wintermute/graphics/transparent_surface.cpp
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp
index 9319899..e019b77 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;
}
More information about the Scummvm-git-logs
mailing list