Index: Source/platform/image-decoders/ImageDecoder.h |
diff --git a/Source/platform/image-decoders/ImageDecoder.h b/Source/platform/image-decoders/ImageDecoder.h |
index f390453222220f33a378db37cb3d4f3c66026d65..85101d83de598483ed5ee3de889341860328d65f 100644 |
--- a/Source/platform/image-decoders/ImageDecoder.h |
+++ b/Source/platform/image-decoders/ImageDecoder.h |
@@ -186,6 +186,7 @@ public: |
size_t length = CFDataGetLength(iccProfile); |
const unsigned char* systemProfile = CFDataGetBytePtr(iccProfile); |
m_outputDeviceProfile = qcms_profile_from_memory(systemProfile, length); |
+ CFRelease(iccProfile); |
} |
#else |
// FIXME: add support for multiple monitors. |