mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Add an assertion to config_line_append().
This commit is contained in:
parent
95a4f2d525
commit
89b673f24b
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue