diff --git a/config/config.c b/config/config.c index d42a16a1f..d86f7c649 100644 --- a/config/config.c +++ b/config/config.c @@ -133,7 +133,7 @@ add_option(InputOption **options, const char *key, const char *value) *options = calloc(sizeof(**options), 1); if (!*options) /* Yeesh. */ return; - (*options)->key = xstrdup(key); + (*options)->key = strdup(key); (*options)->value = strdup(value); (*options)->next = NULL; }