aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge/vga13h.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp
index ed87da1c82..2530bf970a 100644
--- a/engines/cge/vga13h.cpp
+++ b/engines/cge/vga13h.cpp
@@ -620,8 +620,7 @@ Sprite *Sprite::contract() {
int i;
for (i = 0; e->_shpList[i]; i++)
delete e->_shpList[i];
- if (memType(e->_shpList) == NEAR_MEM)
- delete[] e->_shpList;
+ delete[] e->_shpList;
}
if (memType(e->_seq) == NEAR_MEM)
free(e->_seq);