mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
add fclose, fixes issue from bdb96b9af8
This commit is contained in:
parent
37d22bf170
commit
32a5d51fa6
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ class Preview {
|
|||
$image->loadFromFileHandle($stream);
|
||||
$this->preview = $image->valid() ? $image : null;
|
||||
$this->resizeAndCrop();
|
||||
fclose($stream);
|
||||
}
|
||||
|
||||
if (is_null($this->preview)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue