summaryrefslogtreecommitdiff
path: root/libgfortran/generated/reshape_c16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/reshape_c16.c')
-rw-r--r--libgfortran/generated/reshape_c16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/reshape_c16.c b/libgfortran/generated/reshape_c16.c
index 72aba60fb4be..7fcc97c18706 100644
--- a/libgfortran/generated/reshape_c16.c
+++ b/libgfortran/generated/reshape_c16.c
@@ -115,7 +115,7 @@ reshape_c16 (gfc_array_c16 * const restrict ret,
else
alloc_size = rs * sizeof (GFC_COMPLEX_16);
- ret->base_addr = internal_malloc_size (alloc_size);
+ ret->base_addr = xmalloc (alloc_size);
ret->dtype = (source->dtype & ~GFC_DTYPE_RANK_MASK) | rdim;
}