aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/confparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-15 16:50:02 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-15 16:50:02 -0400
commit7c6cc470f181cc2e9d8e3f6e2a36611de6fb0fdd (patch)
tree3d0ce3b45d59533903429d5ea8774990caf1190c /src/app/config/confparse.c
parent4613159c61549a4901690da5ecd5101eb6a20736 (diff)
parent4ab1d1c0c44a887417b04fc75b1b11bf246f2bb5 (diff)
downloadtor-7c6cc470f181cc2e9d8e3f6e2a36611de6fb0fdd.tar.gz
tor-7c6cc470f181cc2e9d8e3f6e2a36611de6fb0fdd.zip
Merge branch 'bug30894_035' into ticket30893
Diffstat (limited to 'src/app/config/confparse.c')
-rw-r--r--src/app/config/confparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index e4bb6e89bd..3bf14b378d 100644
--- 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;