From 283dfd82e18ea6d66b95799832b74f8fd9f15931 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 27 Mar 2019 17:41:03 +0100 Subject: [PATCH] Fix another memory leak --- src/socks5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socks5.c b/src/socks5.c index f8f27ea..8f1f5b0 100644 --- a/src/socks5.c +++ b/src/socks5.c @@ -2,6 +2,7 @@ void socks5_free_ctx(void* elem) { struct socks5_ctx* ctx = elem; + free(ctx->addr); free(ctx); }