mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add an assertion to config_line_append().
This commit is contained in:
@@ -16,6 +16,8 @@ config_line_append(config_line_t **lst,
|
||||
const char *key,
|
||||
const char *val)
|
||||
{
|
||||
tor_assert(lst);
|
||||
|
||||
config_line_t *newline;
|
||||
|
||||
newline = tor_malloc_zero(sizeof(config_line_t));
|
||||
|
||||
Reference in New Issue
Block a user