summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/dav.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-13 15:45:33 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-13 15:48:32 +0200
commitc6bf51c4574453b5bb492ebf21b70d7cbe3e029b (patch)
tree05caf0eb35289d6303fe4a44afab96add2468b4f /lib/private/files/storage/dav.php
parent9ab0ebbedc2660b1ed4fd5b84927295a6a2cc2fd (diff)
downloadnextcloud-server-c6bf51c4574453b5bb492ebf21b70d7cbe3e029b.tar.gz
nextcloud-server-c6bf51c4574453b5bb492ebf21b70d7cbe3e029b.zip
Close open file handles in files library
ref #10392
Diffstat (limited to 'lib/private/files/storage/dav.php')
-rw-r--r--lib/private/files/storage/dav.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php
index 02c3ebd0202..ce447417d20 100644
--- a/lib/private/files/storage/dav.php
+++ b/lib/private/files/storage/dav.php
@@ -295,6 +295,7 @@ class DAV extends \OC\Files\Storage\Common {
\OCP\Util::writeLog("webdav client", 'curl GET ' . curl_getinfo($curl, CURLINFO_EFFECTIVE_URL) . ' returned status code ' . $statusCode, \OCP\Util::ERROR);
}
curl_close($curl);
+ fclose($source);
$this->removeCachedFile($target);
}