From 39ae569c5cafda5e15865699ff17b9734020329e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 7 Nov 2014 09:46:37 +0100 Subject: Correctly close handle of directory when listing certificates --- lib/private/security/certificatemanager.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/security') diff --git a/lib/private/security/certificatemanager.php b/lib/private/security/certificatemanager.php index cae9730eb26..a2a4c8b83d2 100644 --- a/lib/private/security/certificatemanager.php +++ b/lib/private/security/certificatemanager.php @@ -49,6 +49,7 @@ class CertificateManager implements ICertificateManager { } catch(\Exception $e) {} } } + closedir($handle); return $result; } -- cgit v1.2.3