Skip to content

Leak in CIccTagXmlFactory::CreateTag() at IccTagXmlFactory.cpp:110 #777

@xsscx

Description

@xsscx

Maintainer Summary

2026-04-05 13:39:45 UTC

--   Version (Build)    : 2.3.1.6+3017122
--   Git Commit         : 3017122

Leak in CIccTagXmlFactory::CreateTag() at IccTagXmlFactory.cpp:110

+ iccFromXml ISO22028-Encoded-bg-sRGB.xml ISO22028-Encoded-bg-sRGB.icc
=================================================================
==3996==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x56442d26b9f1 in operator new(unsigned long) (iccFromXml+0x1089f1) (BuildId: de6b02b37336aeb41867f9c937d14eabe48151df)
    #1 0x7febfad07447 in CIccTagXmlFactory::CreateTag(icTagTypeSignature) IccXML/IccLibXML/IccTagXmlFactory.cpp:110:12
    #2 0x7febfa4179b1 in CIccTagCreator::DoCreateTag(icTagTypeSignature) iccDEV/IccProfLib/IccTagFactory.cpp:566:16
    #3 0x7febfa350b5b in CIccTagCreator::CreateTag(icTagTypeSignature) IccProfLib/IccTagFactory.h:276:47
    #4 0x7febfa280d4f in CIccTag::Create(icTagTypeSignature) IccProfLib/IccTagBasic.cpp:145:10

Metadata

Metadata

Assignees

Labels

CITriagedMaintainer indicates triaged status and ready for developer handoff

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions