diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-22 15:51:43 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-22 15:51:43 -0500 |
commit | bb431ad3dfae6941a0bd615b17283ca8c0a5fe4d (patch) | |
tree | 461bf07e2e7b56f165686789339c633dd1934257 /src/or/config.c | |
parent | ef42c00cf0b3a10673a80dd8cf98c683fb68a33e (diff) | |
download | tor-bb431ad3dfae6941a0bd615b17283ca8c0a5fe4d.tar.gz tor-bb431ad3dfae6941a0bd615b17283ca8c0a5fe4d.zip |
Add a missing free in parsing an :auto port
Fixes bug 18374; bugfix on 0.2.3.3-alpha.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 5273d5ade7..ba02e9f180 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -6373,6 +6373,7 @@ parse_port_config(smartlist_t *out, tor_free(addrtmp); goto err; } + tor_free(addrtmp); } else { /* Try parsing integer port before address, because, who knows? "9050" might be a valid address. */ |