summaryrefslogtreecommitdiffstats
path: root/lib/private/security
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-07 09:46:37 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-17 10:48:14 +0100
commit39ae569c5cafda5e15865699ff17b9734020329e (patch)
treecf21bbbc54bac468fe47c2a245e9b6186a8517a5 /lib/private/security
parentb228226700965c696f6fc7196ef7f8f067885958 (diff)
downloadnextcloud-server-39ae569c5cafda5e15865699ff17b9734020329e.tar.gz
nextcloud-server-39ae569c5cafda5e15865699ff17b9734020329e.zip
Correctly close handle of directory when listing certificates
Diffstat (limited to 'lib/private/security')
-rw-r--r--lib/private/security/certificatemanager.php1
1 files changed, 1 insertions, 0 deletions
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;
}