diff options
-rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -138,6 +138,8 @@ config *parse_config(const char *filename) { return NULL; } + memset(cfg, 0, sizeof(config)); + while (*tmp != '\0') { char *line = get_line(&tmp); char *value; |