aboutsummaryrefslogtreecommitdiffstats
path: root/lib/proxy.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-12-14 10:40:17 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-12-14 10:40:17 +0000
commitac46218e481891b0a1d02a0882a3bf964c4ed21c (patch)
treedd32737fdc97b7ded96fc0ae2ff7994aac1beaef /lib/proxy.c
parentc0c43fba49da3d14097f2c7cf3569a829b84125a (diff)
Removed a double g_free() in proxy.c (that couldn't actually ever be
invoked but was stupid anyway). #409.
Diffstat (limited to 'lib/proxy.c')
-rw-r--r--lib/proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/proxy.c b/lib/proxy.c
index 91493557..e52837fe 100644
--- a/lib/proxy.c
+++ b/lib/proxy.c
@@ -557,7 +557,6 @@ int proxy_connect(const char *host, int port, b_event_handler func, gpointer dat
else if (proxytype == PROXY_SOCKS5)
return proxy_connect_socks5(host, port, phb);
- if (phb->host) g_free(phb);
g_free(phb);
return -1;
}