use xstrdup, not strdup in ll-merge.c