Fix another memory leak
This commit is contained in:
parent
da6815ec62
commit
283dfd82e1
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
void socks5_free_ctx(void* elem) {
|
||||
struct socks5_ctx* ctx = elem;
|
||||
free(ctx->addr);
|
||||
free(ctx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue