replace core use of strdup() with dupstr() (trunk only)

This commit is contained in:
nethack.rankin
2012-03-10 02:22:07 +00:00
parent a4cb32e786
commit 78127038a0
3 changed files with 9 additions and 9 deletions

View File

@@ -1101,7 +1101,7 @@ const char *mapping;
new_map->pattern = (char *)alloc(strlen(text) + 1);
Strcpy(new_map->pattern, text);
#endif
new_map->filename = strdup(filespec);
new_map->filename = dupstr(filespec);
new_map->volume = volume;
new_map->next = soundmap;