strdup replaced by malloc and strcpy

No match.