ReadTIFFImage memory leak
Posted: 2011-10-26T08:42:19-07:00
Missing DestroyQuantumInfo before end of ReadTIFFImage function.
It's solved it in my own build.
It's solved it in my own build.
Code: Select all
quantum_info=DestroyQuantumInfo(quantum_info);
} while (status == MagickTrue);
quantum_info=DestroyQuantumInfo(quantum_info); <--- this one
(void) TIFFSetWarningHandler(warning_handler);
(void) TIFFSetErrorHandler(error_handler);
TIFFClose(tiff);
return(GetFirstImageInList(image));
}