diff --git a/plugins/ImageMagick/ImageMagickPlugin.php b/plugins/ImageMagick/ImageMagickPlugin.php index e6f2e22080..d6d4f1a1b8 100644 --- a/plugins/ImageMagick/ImageMagickPlugin.php +++ b/plugins/ImageMagick/ImageMagickPlugin.php @@ -90,6 +90,7 @@ class ImageMagickPlugin extends Plugin $fh = fopen($outpath, 'w+'); $success = $magick->writeImagesFile($fh); fclose($fh); + $magick->destroy(); return !$success; }