diff --git a/src/libs/icon/IconUtils.cpp b/src/libs/icon/IconUtils.cpp index c67a64e7b0..3acfe5c35e 100644 --- a/src/libs/icon/IconUtils.cpp +++ b/src/libs/icon/IconUtils.cpp @@ -535,6 +535,7 @@ BIconUtils::ConvertFromCMAP8(const uint8* src, uint32 width, uint32 height, uint8* convertedBits = (uint8*)converted->Bits(); int32 convertedBPR = converted->BytesPerRow(); scale2x(convertedBits, dst, width, height, convertedBPR, dstBPR); + delete converted; } else { // bilinear scaling scale_bilinear(dst, width, height, dstWidth, dstHeight, dstBPR);