aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-24 09:20:03 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-24 09:20:03 -0300
commitb4c4708edacaed4fc774e6ae3b0faa4067618fb7 (patch)
tree54b0650ec42b82ad3e094904b20adc485fff289e /config
parent8c21b192561c102ff99ef395480580f3ff06995c (diff)
downloadpfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.gz
pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.tar.bz2
pfsense-packages-b4c4708edacaed4fc774e6ae3b0faa4067618fb7.zip
close file descriptor
Diffstat (limited to 'config')
-rw-r--r--config/openbgpd/openbgpd_status.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 7ce6e19a..6c5628e1 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -84,6 +84,8 @@ function countCmdT($command) {
while (fgets($fd) !== FALSE)
$c++;
+ pclose($fd);
+
return $c;
}