aboutsummaryrefslogtreecommitdiff
path: root/gas/input-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/input-file.c')
-rw-r--r--gas/input-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/input-file.c b/gas/input-file.c
index a3dcd9d..8b9830f 100644
--- a/gas/input-file.c
+++ b/gas/input-file.c
@@ -81,7 +81,7 @@ input_file_push (void)
{
struct saved_file *saved;
- saved = (struct saved_file *) xmalloc (sizeof *saved);
+ saved = XNEW (struct saved_file);
saved->f_in = f_in;
saved->file_name = file_name;