return string_duplicate(suffix, NULL);
}
- /* TODO(#480): there is not nth_realloc */
- prefix = realloc(prefix, strlen(prefix) + strlen(suffix) + 1);
+ prefix = nth_realloc(prefix, strlen(prefix) + strlen(suffix) + 1);
return strcat(prefix, suffix);
}