mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 21:16:22 +02:00
Merge branch 'bug30894_035' into ticket30893
This commit is contained in:
commit
7c6cc470f1
4
changes/bug30894
Normal file
4
changes/bug30894
Normal file
@ -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.
|
@ -220,6 +220,7 @@ config_assign_value(const config_format_t *fmt, void *options,
|
|||||||
tor_asprintf(msg,
|
tor_asprintf(msg,
|
||||||
"Interval '%s %s' is malformed or out of bounds.",
|
"Interval '%s %s' is malformed or out of bounds.",
|
||||||
c->key, c->value);
|
c->key, c->value);
|
||||||
|
tor_free(tmp);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
*(int *)lvalue = i;
|
*(int *)lvalue = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user