forked from GNUsocial/gnu-social
Free ImageMagick object from memory when done with it
This commit is contained in:
parent
fe9dc8e901
commit
dcfb813066
@ -90,6 +90,7 @@ class ImageMagickPlugin extends Plugin
|
||||
$fh = fopen($outpath, 'w+');
|
||||
$success = $magick->writeImagesFile($fh);
|
||||
fclose($fh);
|
||||
$magick->destroy();
|
||||
|
||||
return !$success;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user