summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-24 15:50:47 +0000
committerErmal <eri@pfsense.org>2013-12-24 15:51:08 +0000
commit59257969adf40d5e901a6bee9d89dfcba9d28859 (patch)
tree00ed96841d4125fa18dea834aff982979a222716 /etc
parent5551d818eeb95926f7c43303b1046d24b19cb78d (diff)
downloadpfsense-59257969adf40d5e901a6bee9d89dfcba9d28859.zip
pfsense-59257969adf40d5e901a6bee9d89dfcba9d28859.tar.gz
Sprinkle some more unsets
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 211610e..eae3e9f 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -1192,7 +1192,9 @@ function mwexec($command, $mute = false, $clearsigmask = false) {
if(($retval <> 0) && ($mute === false)) {
$output = implode(" ", $oarr);
log_error(sprintf(gettext("The command '%1\$s' returned exit code '%2\$d', the output was '%3\$s' "), $command, $retval, $output));
+ unset($output);
}
+ unset($oarr);
return $retval;
}
OpenPOWER on IntegriCloud