From 57cd35cf98c5cb4a00d5a4ecae18310a5045bc34 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 21 Feb 2014 10:03:04 +0000 Subject: [PATCH] Be friendly to memory --- etc/inc/voucher.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index 0c1c135b46..4b8398cacd 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'];