summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/SharedMount.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index c83a28d4c5e..13ecd88bfa9 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -248,6 +248,7 @@ class SharedMount extends MountPoint implements MoveableMount {
$result = $query->execute();
$row = $result->fetch();
+ $result->closeCursor();
if ($row) {
return $row['storage'];
}