diff options
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -385,6 +385,10 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match) if (!arg) return -1; + if (*var != NULL) { + safefree (*var); + } + *var = arg; return 0; |