summaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_pack_i8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/in_pack_i8.c')
-rw-r--r--libgfortran/generated/in_pack_i8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/in_pack_i8.c b/libgfortran/generated/in_pack_i8.c
index cb7e785f060..f0d6dd13e23 100644
--- a/libgfortran/generated/in_pack_i8.c
+++ b/libgfortran/generated/in_pack_i8.c
@@ -76,7 +76,7 @@ internal_pack_8 (gfc_array_i8 * source)
return source->base_addr;
/* Allocate storage for the destination. */
- destptr = (GFC_INTEGER_8 *)internal_malloc_size (ssize * sizeof (GFC_INTEGER_8));
+ destptr = (GFC_INTEGER_8 *)xmalloc (ssize * sizeof (GFC_INTEGER_8));
dest = destptr;
src = source->base_addr;
stride0 = stride[0];