aboutsummaryrefslogtreecommitdiff
path: root/src/common/confline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/confline.c')
-rw-r--r--src/common/confline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/confline.c b/src/common/confline.c
index c65560bbf3..6ec3b619dc 100644
--- a/src/common/confline.c
+++ b/src/common/confline.c
@@ -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));