From 1870f09d3131ea6b9e2646343e5191cda614b49b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 10 Jul 2011 14:51:22 +1000 Subject: CGE: Fix several allocation mismatches and Valgrind issues --- engines/cge/vga13h.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cge/vga13h.cpp') diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index 2530bf970a..6e0493695a 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -619,7 +619,7 @@ Sprite *Sprite::contract() { if (_flags._bDel && e->_shpList) { int i; for (i = 0; e->_shpList[i]; i++) - delete e->_shpList[i]; + delete e->_shpList[i]; delete[] e->_shpList; } if (memType(e->_seq) == NEAR_MEM) -- cgit v1.2.3