From f32eae2db8c1cae1b579fba614bfb272f83dec2a Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 21 Jan 2013 19:37:24 +0000 Subject: [PATCH] Unser some vars to free space --- etc/inc/captiveportal.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index b1718a5fde..989f31beb5 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -736,6 +736,7 @@ function captiveportal_prune_old() { } } } + unset($cpdb); captiveportal_prune_old_automac(); @@ -1806,6 +1807,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut } } } + unset($cpdb); if (!empty($unsetindexes)) captiveportal_remove_entries($unsetindexes);