Hello,
There is a memory leak in Magick++ (options.cpp)
void Magick::Options::magick ( const std::string &magick_ )
{
ExceptionInfo exception;
FormatString( _imageInfo->filename, "%.1024s:", magick_.c_str() );
GetExceptionInfo(&exception);
SetImageInfo( _imageInfo, MagickTrue, &exception);
if ( *_imageInfo->magick == '\0' )
throwExceptionExplicit( OptionWarning,
"Unrecognized image format",
magick_.c_str() );
DestroyExceptionInfo( &exception ); // This line must be added
}
Yours,
Exception not destroyed
Exception not destroyed
Manuel Jouglet
Mootools
Mootools