replaced malloc()+strcpy() by a single strdup() (slightly faster and slightly smaller)
Authored by: mv_fox 2015-05-28
Parent: [r29]
Child: [r31]