Good catch. Believe it or not I added the ``xstrdup`` at the last minute... this is what I get for submitting the PR in the wee hours of the morning :-S