aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-04-24 09:43:28 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-04-24 09:43:28 -0400
commit4b599aaae4fc33460553306a8bba41d777558420 (patch)
treed01ff1863ea1cc8e00cc99af2811f290805c00c9 /src
parent4587e67dfd29f62ced4c52c18d2c2b7e1538080b (diff)
parentcdafcc49bc273e472d40ea8c01219bbc165c92cb (diff)
downloadtor-4b599aaae4fc33460553306a8bba41d777558420.tar.gz
tor-4b599aaae4fc33460553306a8bba41d777558420.zip
Merge branch 'tor-github/pr/939'
Diffstat (limited to 'src')
-rw-r--r--src/tools/tor-resolve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 98b3a4a74c..5d97696c18 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -424,6 +424,7 @@ do_resolve(const char *hostname,
if (parsed < 2) {
log_err(LD_NET, "Failed to parse SOCKS5 method selection "
"message");
+ socks5_server_method_free(m);
goto err;
}