summaryrefslogtreecommitdiff
path: root/libgfortran/generated/pack_r16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/pack_r16.c')
-rw-r--r--libgfortran/generated/pack_r16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/pack_r16.c b/libgfortran/generated/pack_r16.c
index db8d2e028c2..34ac1301226 100644
--- a/libgfortran/generated/pack_r16.c
+++ b/libgfortran/generated/pack_r16.c
@@ -168,8 +168,8 @@ pack_r16 (gfc_array_r16 *ret, const gfc_array_r16 *array,
ret->offset = 0;
- /* internal_malloc_size allocates a single byte for zero size. */
- ret->base_addr = internal_malloc_size (sizeof (GFC_REAL_16) * total);
+ /* xmalloc allocates a single byte for zero size. */
+ ret->base_addr = xmalloc (sizeof (GFC_REAL_16) * total);
if (total == 0)
return;