add fclose, fixes issue from bdb96b9af8

This commit is contained in:
Georg Ehrke 2014-03-05 15:37:26 +01:00
parent 37d22bf170
commit 32a5d51fa6
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ class Preview {
$image->loadFromFileHandle($stream);
$this->preview = $image->valid() ? $image : null;
$this->resizeAndCrop();
fclose($stream);
}
if (is_null($this->preview)) {