[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/inpt-pgm.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/inpt-pgm.c |
Date: |
Wed, 26 Oct 2005 01:07:09 -0400 |
Index: pspp/src/inpt-pgm.c
diff -u pspp/src/inpt-pgm.c:1.20 pspp/src/inpt-pgm.c:1.21
--- pspp/src/inpt-pgm.c:1.20 Sun Jul 31 21:42:46 2005
+++ pspp/src/inpt-pgm.c Wed Oct 26 05:06:14 2005
@@ -96,7 +96,7 @@
/* Figure out how to initialize each input case. */
inp = xmalloc (sizeof *inp);
inp->init_cnt = dict_get_next_value_idx (default_dict);
- inp->init = xmalloc (inp->init_cnt * sizeof *inp->init);
+ inp->init = xnmalloc (inp->init_cnt, sizeof *inp->init);
for (i = 0; i < inp->init_cnt; i++)
inp->init[i] = -1;
for (i = 0; i < dict_get_var_cnt (default_dict); i++)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] Changes to pspp/src/inpt-pgm.c,
Ben Pfaff <=