diff options
author | Ermal <eri@pfsense.org> | 2014-02-21 10:03:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-21 10:03:04 +0000 |
commit | 57cd35cf98c5cb4a00d5a4ecae18310a5045bc34 (patch) | |
tree | 8118f39e439b0b3f51fa717751f1ab15ee12bf70 /etc | |
parent | be1e934234148ee71f52a05a419f602a819e41bd (diff) | |
download | pfsense-57cd35cf98c5cb4a00d5a4ecae18310a5045bc34.zip pfsense-57cd35cf98c5cb4a00d5a4ecae18310a5045bc34.tar.gz |
Be friendly to memory
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/voucher.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index 0c1c135..4b8398c 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -204,6 +204,7 @@ EOF; $config['voucher'][$cpzone]['roll'] = $toreturn['voucher']['roll']; write_config("Captive Portal Voucher database synchronized with {$url}"); voucher_configure_zone(true); + unset($toreturn['voucher']); } return $toreturn['timeleft']; |