coded this. Tsss, wrote xstrdup some hundreds times but missed it this time. Thanks to Steffen Hansen for noticing it.