Hi,

PerlMagick leaks memory when you call $img->Histogram(), because it never returns the memory back to ImageMagick that it receives from GetImageHistogram().

Attached is a patch that adds a call to RelinquishMagickMemory to return the memory. I tested this problem on Mac OS X and Linux against version 6.2.8 of ImageMagick.

Thanks,

Rusty
--
Rusty Conover
InfoGears Inc.
Web: http://www.infogears.com


_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to