aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-01-07 22:23:19 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-01-07 22:49:49 +0100
commitcabab5f35143c9bbecd2024519d9572c55304a51 (patch)
tree2b25cbb71b870f6bb506620fb0793ac66f699bad
parent1d3910fd8e194f4e0699507c9ded096f1ed80339 (diff)
downloadxK-cabab5f35143c9bbecd2024519d9572c55304a51.tar.gz
xK-cabab5f35143c9bbecd2024519d9572c55304a51.tar.xz
xK-cabab5f35143c9bbecd2024519d9572c55304a51.zip
Fix a memory leak in SOCKS connector
-rw-r--r--common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common.c b/common.c
index d4cf479..8974f57 100644
--- a/common.c
+++ b/common.c
@@ -306,7 +306,6 @@ socks_4a_start (struct socks_connector *self)
}
struct str *wb = &self->write_buffer;
- str_init (wb);
str_pack_u8 (wb, 4); // version
str_pack_u8 (wb, 1); // connect