From 423378ea179574c6c9c272f785e94a4bdfc996bb Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 30 Aug 2016 09:52:54 +0200 Subject: [PATCH] Added closeCursor in SharedMount numeric id --- apps/files_sharing/lib/SharedMount.php | 1 + 1 file changed, 1 insertion(+) 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']; } -- 2.39.5