From a12940c0a9d67ceb3e13a0b20f50000cc18841a3 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 14 Feb 2016 09:52:09 +0100 Subject: IMAGE: Fix a memory leak in the RPZA decoder --- image/codecs/rpza.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'image') 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() \ -- cgit v1.2.3