aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/confparse.c
diff options
context:
space:
mode:
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;