Fix a memory leak in SOCKS connector
This commit is contained in:
parent
1d3910fd8e
commit
cabab5f351
1
common.c
1
common.c
|
@ -306,7 +306,6 @@ socks_4a_start (struct socks_connector *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct str *wb = &self->write_buffer;
|
struct str *wb = &self->write_buffer;
|
||||||
str_init (wb);
|
|
||||||
str_pack_u8 (wb, 4); // version
|
str_pack_u8 (wb, 4); // version
|
||||||
str_pack_u8 (wb, 1); // connect
|
str_pack_u8 (wb, 1); // connect
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue