summaryrefslogtreecommitdiff
path: root/libgfortran/generated/shape_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/shape_i4.c')
-rw-r--r--libgfortran/generated/shape_i4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/shape_i4.c b/libgfortran/generated/shape_i4.c
index 3f573999629..e012ec0e845 100644
--- a/libgfortran/generated/shape_i4.c
+++ b/libgfortran/generated/shape_i4.c
@@ -49,7 +49,7 @@ shape_4 (gfc_array_i4 * const restrict ret,
{
GFC_DIMENSION_SET(ret->dim[0], 0, rank - 1, 1);
ret->offset = 0;
- ret->base_addr = internal_malloc_size (sizeof (GFC_INTEGER_4) * rank);
+ ret->base_addr = xmalloc (sizeof (GFC_INTEGER_4) * rank);
}
stride = GFC_DESCRIPTOR_STRIDE(ret,0);