aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgfortran/runtime/environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgfortran/runtime/environ.c')
-rw-r--r--gcc-4.9/libgfortran/runtime/environ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libgfortran/runtime/environ.c b/gcc-4.9/libgfortran/runtime/environ.c
index 0c0e9308f..1095f443a 100644
--- a/gcc-4.9/libgfortran/runtime/environ.c
+++ b/gcc-4.9/libgfortran/runtime/environ.c
@@ -837,7 +837,7 @@ void init_unformatted (variable * v)
}
else
{
- elist = xmalloc (unit_count * sizeof (exception_t));
+ elist = xmallocarray (unit_count, sizeof (exception_t));
do_count = 0;
p = val;
do_parse ();