summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/View.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 3514c829691..7866f90157e 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -431,6 +431,7 @@ class View {
echo fread($handle, $chunkSize);
flush();
}
+ fclose($handle);
$size = $this->filesize($path);
return $size;
}