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