about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-07-05 10:23:56 -0400
committerJosh Rickmar <jrick@conformal.com>2013-07-11 11:10:55 -0400
commit8038b8be88d29af20469d8abdbea0f9b20e1cd38 (patch)
treeb9db273e9f242a9990e4beb398b1714e7b3cf187
parentef5a912f473d2f9c7856a067ef12ecdbc813a7db (diff)
downloadxombrero-8038b8be88d29af20469d8abdbea0f9b20e1cd38.tar.gz
remove two extra calls, one which cause a small memleak.
-rw-r--r--whitelist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/whitelist.c b/whitelist.c
index e834565..8f26e9c 100644
--- a/whitelist.c
+++ b/whitelist.c
@@ -570,9 +570,6 @@ toggle_force_https(struct tab *t, struct karg *args)
 	else if ((args->i & XT_WL_DISABLE) && es != 0)
 		es = 0;
 
-	uri = get_uri(t);
-	dom = find_domain(uri, args->i);
-
 	if (es) {
 		args->i |= !XT_WL_PERSISTENT;
 		wl_add(dom, &force_https, args->i);