diff options
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 78d144b1f..b95a14292 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -1672,7 +1672,7 @@ static void config_save_cb (void *this_gen, xine_cfg_entry_t *entry) { xine_t *this = (xine_t *)this_gen; char *homedir_trail_slash; - asprintf(&homedir_trail_slash, "%s/", xine_get_homedir()); + homedir_trail_slash = _x_asprintf("%s/", xine_get_homedir()); if (entry->str_value[0] && (entry->str_value[0] != '/' || strstr(entry->str_value, "/.") || strcmp(entry->str_value, xine_get_homedir()) == 0 || |