diff options
Diffstat (limited to 'xorg-server/config/config.c')
-rw-r--r-- | xorg-server/config/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/config/config.c b/xorg-server/config/config.c index 1ffbdcdad..5a7b0ea17 100644 --- a/xorg-server/config/config.c +++ b/xorg-server/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)->value = xstrdup(value);
+ (*options)->key = strdup(key);
+ (*options)->value = strdup(value);
(*options)->next = NULL;
}
|