pspp-cvs
[Top][All Lists]
Advanced

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

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


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

Index: pspp/src/vfm.c
diff -u pspp/src/vfm.c:1.41 pspp/src/vfm.c:1.42
--- pspp/src/vfm.c:1.41 Mon Oct 24 05:41:45 2005
+++ pspp/src/vfm.c      Wed Oct 26 05:06:14 2005
@@ -227,7 +227,7 @@
   
       lag_count = 0;
       lag_head = 0;
-      lag_queue = xmalloc (n_lag * sizeof *lag_queue);
+      lag_queue = xnmalloc (n_lag, sizeof *lag_queue);
       for (i = 0; i < n_lag; i++)
         case_nullify (&lag_queue[i]);
     }
@@ -608,7 +608,7 @@
   if (n_trns >= m_trns)
     {
       m_trns += 16;
-      t_trns = xrealloc (t_trns, sizeof *t_trns * m_trns);
+      t_trns = xnrealloc (t_trns, m_trns, sizeof *t_trns);
     }
   t_trns[n_trns] = trns;
   trns->index = n_trns++;




reply via email to

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