Code

replace malloc/strncpy by strdup