Hi Mirtchev, > Found a minor memory issue and thought it might be a good idea to post it > here.
Sure, thanks for posting. I appreciate those collaborations. > I was trying to clean my own code from memory leaks when I noticed that the > tool I was using > (Memory Validator from Software Verification) reports leaks in cmsWriteTag: Well, the testbed does intrumentation on memory management and it didn't report any leak. But it is certainly possible that it would be a leak, so let's double check. Maybe you are not closing the profile at the very end? cmsWriteTag() may allocate some memory, that is freed when the cmsHPROFILE where you write is closed. This is very common. But if you don't close the profile, the memory is still there, so I wonder if this is the case. Regards Marti ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user