Garbage collect the strdup() replacement for mingw32