diff options
Diffstat (limited to 'libiberty/choose-temp.c')
-rw-r--r-- | libiberty/choose-temp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c index 1f5e0e50c88..0cba9905d5b 100644 --- a/libiberty/choose-temp.c +++ b/libiberty/choose-temp.c @@ -61,7 +61,7 @@ choose_temp_base (void) int len; len = strlen (base); - temp_filename = xmalloc (len + TEMP_FILE_LEN + 1); + temp_filename = XNEWVEC (char, len + TEMP_FILE_LEN + 1); strcpy (temp_filename, base); strcpy (temp_filename + len, TEMP_FILE); |