Windows strdup replacement did not correctly initialise memory

No known side-effects, but bad