Use the xstrdup() version of the function
update changelog