Page 1 of 1

ReadTIFFImage memory leak

Posted: 2011-10-26T08:42:19-07:00
by arepi
Missing DestroyQuantumInfo before end of ReadTIFFImage function.

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));
}

Re: ReadTIFFImage memory leak

Posted: 2011-10-26T09:54:56-07:00
by magick
We'll get a patch into ImageMagick 6.7.3-3 Beta by sometime tomorrow. Thanks.