pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] Changes to pspp/src/means.q


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/means.q
Date: Wed, 26 Oct 2005 01:07:21 -0400

Index: pspp/src/means.q
diff -u pspp/src/means.q:1.11 pspp/src/means.q:1.12
--- pspp/src/means.q:1.11       Mon Oct 24 02:51:32 2005
+++ pspp/src/means.q    Wed Oct 26 05:06:14 2005
@@ -153,8 +153,8 @@
         goto lossage;
       
       n_dim++;
-      nv_dim = xrealloc (nv_dim, n_dim * sizeof (int));
-      v_dim = xrealloc (v_dim, n_dim * sizeof (struct variable **));
+      nv_dim = xnrealloc (nv_dim, n_dim, sizeof *nv_dim);
+      v_dim = xnrealloc (v_dim, n_dim, sizeof *v_dim);
 
       nv_dim[n_dim - 1] = nvl;
       v_dim[n_dim - 1] = vl;




reply via email to

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