Skip to content
Snippets Groups Projects
Commit 7c6cc470 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge branch 'bug30894_035' into ticket30893

parents 4613159c 4ab1d1c0
No related branches found
No related tags found
No related merge requests found
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.
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment