aboutsummaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorBastien Bouclet2016-02-14 09:52:09 +0100
committerBastien Bouclet2016-02-14 09:58:43 +0100
commita12940c0a9d67ceb3e13a0b20f50000cc18841a3 (patch)
tree3b1b482fd10f6d3b545fb1dc39021436db90fa86 /image
parentf0e416a0341f437f267a505191e7485917c312dd (diff)
downloadscummvm-rg350-a12940c0a9d67ceb3e13a0b20f50000cc18841a3.tar.gz
scummvm-rg350-a12940c0a9d67ceb3e13a0b20f50000cc18841a3.tar.bz2
scummvm-rg350-a12940c0a9d67ceb3e13a0b20f50000cc18841a3.zip
IMAGE: Fix a memory leak in the RPZA decoder
Diffstat (limited to 'image')
-rw-r--r--image/codecs/rpza.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/image/codecs/rpza.cpp b/image/codecs/rpza.cpp
index 8d648e1cc1..db0d512f45 100644
--- a/image/codecs/rpza.cpp
+++ b/image/codecs/rpza.cpp
@@ -50,6 +50,7 @@ RPZADecoder::~RPZADecoder() {
}
delete[] _ditherPalette;
+ delete[] _colorMap;
}
#define ADVANCE_BLOCK() \