Replace some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git] / gdb / guile / scm-value.c
index d26ab0d745937a03cd7c2b87f9579c79b72dec6e..25c29574985cf6301d9684fe59529d105f812b22 100644 (file)
@@ -851,7 +851,7 @@ gdbscm_value_call (SCM self, SCM args)
       SCM except_scm;
       long i;
 
-      vargs = alloca (sizeof (struct value *) * args_count);
+      vargs = XALLOCAVEC (struct value *, args_count);
       for (i = 0; i < args_count; i++)
        {
          SCM arg = scm_car (args);
This page took 0.024645 seconds and 4 git commands to generate.