pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/autorecode.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/autorecode.c
Date: Wed, 26 Oct 2005 01:06:29 -0400

Index: pspp/src/autorecode.c
diff -u pspp/src/autorecode.c:1.21 pspp/src/autorecode.c:1.22
--- pspp/src/autorecode.c:1.21  Mon Oct 24 02:51:32 2005
+++ pspp/src/autorecode.c       Wed Oct 26 05:06:14 2005
@@ -164,8 +164,8 @@
     }
 
   arc.src_values_pool = pool_create ();
-  arc.dst_vars = xmalloc (sizeof *arc.dst_vars * arc.var_cnt);
-  arc.src_values = xmalloc (sizeof *arc.src_values * arc.var_cnt);
+  arc.dst_vars = xnmalloc (arc.var_cnt, sizeof *arc.dst_vars);
+  arc.src_values = xnmalloc (arc.var_cnt, sizeof *arc.src_values);
   for (i = 0; i < dst_cnt; i++)
     if (arc.src_vars[i]->type == ALPHA)
       arc.src_values[i] = hsh_create (10, compare_alpha_value,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]