aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-27 00:14:15 +0100
committerErmal <eri@pfsense.org>2012-11-27 00:14:15 +0100
commit3c478ea2160e553bee494923b0091553b0e2acba (patch)
tree506db0882e24f83fa7a8aae5ce6285aca9462367
parent1e280390a144e1bce4e7234cde647e4b1d25d663 (diff)
downloadpfsense-packages-3c478ea2160e553bee494923b0091553b0e2acba.tar.gz
pfsense-packages-3c478ea2160e553bee494923b0091553b0e2acba.tar.bz2
pfsense-packages-3c478ea2160e553bee494923b0091553b0e2acba.zip
Close the resource after done
-rw-r--r--config/quagga_ospfd/status_ospfd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/quagga_ospfd/status_ospfd.php b/config/quagga_ospfd/status_ospfd.php
index 0012af0f..dc6c6aea 100644
--- a/config/quagga_ospfd/status_ospfd.php
+++ b/config/quagga_ospfd/status_ospfd.php
@@ -72,6 +72,7 @@ function doCmdT($title, $command) {
while (($line = fgets($fd)) !== FALSE) {
echo htmlspecialchars($line, ENT_NOQUOTES);
}
+ pclose($fd);
echo "</pre></tr>\n";
echo "</table>\n";
}