summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index 397cf45..7ab4329 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -384,8 +384,9 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match)
if (!arg)
return -1;
- *var = safestrdup (arg);
- safefree (arg);
+
+ *var = arg;
+
return *var ? 0 : -1;
}