tor

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

commit 7c6cc470f181cc2e9d8e3f6e2a36611de6fb0fdd
parent 4613159c61549a4901690da5ecd5101eb6a20736
Author: Nick Mathewson <nickm@torproject.org>
Date:   Sat, 15 Jun 2019 16:50:02 -0400

Merge branch 'bug30894_035' into ticket30893

Diffstat:
Achanges/bug30894 | 4++++
Msrc/app/config/confparse.c | 1+
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/changes/bug30894 b/changes/bug30894 @@ -0,0 +1,4 @@ + o Minor bugfixes (memory leaks): + - Fix a trivial memory leak when parsing an invalid value + from a download schedule in the configuration. Fixes bug + 30894; bugfix on 0.3.4.1-alpha. diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c @@ -220,6 +220,7 @@ config_assign_value(const config_format_t *fmt, void *options, tor_asprintf(msg, "Interval '%s %s' is malformed or out of bounds.", c->key, c->value); + tor_free(tmp); return -1; } *(int *)lvalue = i;