tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 911e2dc5308d4cbd3f2c7e78e38055cb36c908fb
parent af3079a492ef1611422f97c72fe07426931830d1
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri, 28 Jul 2017 09:50:16 -0400

Merge branch 'bug23053_029' into maint-0.3.1

Diffstat:
Achanges/bug23053 | 5+++++
Msrc/or/config.c | 1+
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/changes/bug23053 b/changes/bug23053 @@ -0,0 +1,5 @@ + o Minor bugfixes (memory leak): + - Fix a small memory leak when validating a configuration that + uses two or more AF_UNIX sockets for the same port type. + Fixes bug 23053; bugfix on 0.2.6.3-alpha. This is CID + 1415725. diff --git a/src/or/config.c b/src/or/config.c @@ -6864,6 +6864,7 @@ parse_port_config(smartlist_t *out, SMARTLIST_FOREACH(elts, char *, cp, tor_free(cp)); smartlist_clear(elts); tor_free(addrport); + tor_free(unix_socket_path); } if (warn_nonlocal && out) {