Commit 4ab1d1c0 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Fix memleak when failing to parse a CSV_INTERVAL.

Fixes bug 30894; bugfix on
parent b0fa1f4f
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
......@@ -225,6 +225,7 @@ config_assign_value(const config_format_t *fmt, void *options,
"Interval '%s %s' is malformed or out of bounds.",
c->key, c->value);
return -1;
*(int *)lvalue = i;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment