summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
authorphildd <ict.advisor@nepal.inf.org>2014-01-02 03:58:59 -0800
committerphildd <ict.advisor@nepal.inf.org>2014-01-02 03:58:59 -0800
commit8f56dd279432c4fd5a027310622e2650822e4651 (patch)
treecd43400dc87d441e209b775a05d354afd2c4c009 /usr/local/www/services_dyndns_edit.php
parent31300a95f71b14dcb98c139388205223a36e8c8b (diff)
downloadpfsense-8f56dd279432c4fd5a027310622e2650822e4651.zip
pfsense-8f56dd279432c4fd5a027310622e2650822e4651.tar.gz
DyndDNS edit: unset vars when no longer used
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index e1cbb55c2..67da1ad 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -254,6 +254,7 @@ function _onTypeChange(type){
echo "selected";
echo ">{$ifdesc}</option>\n";
}
+ unset($iflist);
$grouplist = return_gateway_groups_array();
foreach ($grouplist as $name => $group) {
echo "<option value=\"{$name}\"";
@@ -261,6 +262,7 @@ function _onTypeChange(type){
echo "selected";
echo ">GW Group {$name}</option>\n";
}
+ unset($grouplist);
?>
</select>
</td>
@@ -278,6 +280,7 @@ function _onTypeChange(type){
echo "selected";
echo ">{$ifdesc}</option>\n";
}
+ unset($iflist);
$grouplist = return_gateway_groups_array();
foreach ($grouplist as $name => $group) {
echo "<option value=\"{$name}\"";
@@ -285,6 +288,7 @@ function _onTypeChange(type){
echo "selected";
echo ">GW Group {$name}</option>\n";
}
+ unset($grouplist);
?>
</select>
<br/><?= gettext("Note: This is almost always the same as the Interface to Monitor.");?>
OpenPOWER on IntegriCloud