Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
In the WriteTIFFImage method, we call AcquireQuantumInfo within a do...while loop. At the end of the loop we call DestroyQuantumInfo which tears down the memory accordingly. The leak can occur because there are break statements within the do...while loop which force us out of the loop prior to the DestroyQuantumInfo statement being reached. The leak can be stopped by adding the following lines after the loop (line 2686):