diff --git a/misc/strutil.c b/misc/strutil.c index e6aac94c6..0cdec7bc8 100644 --- a/misc/strutil.c +++ b/misc/strutil.c @@ -118,7 +118,7 @@ char *d_strdup(char *str) { char *newstr; - newstr = d_malloc(strlen(str) + 1); + MALLOC(newstr, char, strlen(str) + 1); strcpy(newstr, str); return newstr;